Skip to content
Snippets Groups Projects
Commit a757eb0e authored by Florian Fischer's avatar Florian Fischer
Browse files

print runtime stats to the environment variable EMPER_STATS_FILE

* Make all stats print methods accept a std::ostream as output.
* Move the printing of runtime component stats into Runtime::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
parent 7ae0f69b
No related branches found
No related tags found
1 merge request!269print runtime stats to the environment variable EMPER_STATS_FILE
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment