Skip to content
Snippets Groups Projects
Commit f66071b1 authored by Florian Schmaus's avatar Florian Schmaus
Browse files

[Runtime] Only print IO stats if emper::IO is true

parent fbe97465
No related branches found
No related tags found
No related merge requests found
...@@ -165,7 +165,10 @@ Runtime::~Runtime() { ...@@ -165,7 +165,10 @@ Runtime::~Runtime() {
// objects bound to the runtime's lifetime // objects bound to the runtime's lifetime
if constexpr (emper::STATS) { if constexpr (emper::STATS) {
printLastRuntimeStats(); printLastRuntimeStats();
emper::io::Stats::printStats(globalIo, ioContexts);
if constexpr (emper::IO) {
emper::io::Stats::printStats(globalIo, ioContexts);
}
} }
for (unsigned int i = 0; i < workerCount; ++i) { for (unsigned int i = 0; i < workerCount; ++i) {
......
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