Skip to content

print runtime stats to the environment variable EMPER_STATS_FILE

Florian Fischer requested to merge aj46ezos/emper:write-stats-to-file into master
  • Make all stats print methods accept a std::ostream as output.
  • Move the printing of runtime component stats intoRuntime::printStats.
  • Use Runtime::printStats instead of Runtime::printLastRuntimeStats in ~Runtime, because we are already in a runtime which may differ from Runtime::currentRuntime.
  • Write the stats in ~Runtime to a possible file passed in the environment variable EMPER_STATS_FILE

Merge request reports