Add code and small application to read results and collect statistics of resources usage in training