Merge pull request #1359 from sacereda/profilerLogging

Elapsed seconds not shown correctly
This commit is contained in:
Alexander Gessler
2017-07-23 01:56:22 +02:00
committed by GitHub

View File

@@ -84,7 +84,7 @@ public:
return;
}
auto elapsedSeconds = std::chrono::system_clock::now() - regions[region];
std::chrono::duration<double> elapsedSeconds = std::chrono::system_clock::now() - regions[region];
DefaultLogger::get()->debug((format("END `"),region,"`, dt= ", elapsedSeconds.count()," s"));
}