Merge pull request #1359 from sacereda/profilerLogging

Elapsed seconds not shown correctly
pull/1364/head
Alexander Gessler 2017-07-23 01:56:22 +02:00 committed by GitHub
commit 96cb3f7140
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ public:
return; 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")); DefaultLogger::get()->debug((format("END `"),region,"`, dt= ", elapsedSeconds.count()," s"));
} }