Commit c8019f24 authored by remicres's avatar remicres
Browse files

ENH: Time probe units in seconds

parent 35d25a15
...@@ -90,7 +90,7 @@ void GatherUsefulVariables(unsigned long long int& accumulatedMemory, bool& isFu ...@@ -90,7 +90,7 @@ void GatherUsefulVariables(unsigned long long int& accumulatedMemory, bool& isFu
*/ */
void ShowTime(boost::timer t) void ShowTime(boost::timer t)
{ {
std::cout << "--- Process duration : " << t.elapsed() << std::endl; std::cout << "--- Process duration : " << std::floor(t.elapsed()) << " s" << std::endl;
t.restart(); t.restart();
} }
#endif #endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment