Commit 3f143f87 authored by EXT Manon Linder's avatar EXT Manon Linder
Browse files

into nsecsElapsed method:

-> change number_nanoseconds into number_seconds
parent e839eaaa
......@@ -28,8 +28,8 @@ public:
int nsecsElapsed()
{
std::chrono::steady_clock::time_point actual_point = std::chrono::steady_clock::now();
std::chrono::duration<double> number_nanoseconds(actual_point - m_timer_start);
return (int)(number_nanoseconds.count()*1000000000); // CR secs or nsecs ?
std::chrono::duration<double> number_seconds(actual_point - m_timer_start);
return (int)(number_seconds.count()*1000000000); // CR secs or nsecs ?
}
};
......
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