9 std::chrono::steady_clock::time_point zero;
19 begin_ = std::chrono::steady_clock::now();
23 end_ = std::chrono::steady_clock::now();
46 return std::chrono::duration_cast<std::chrono::seconds>(
end_ -
begin_).count();
50 return std::chrono::duration_cast<std::chrono::milliseconds>(
end_ -
begin_).count();
54 return std::chrono::duration_cast<std::chrono::nanoseconds>(
end_ -
begin_).count();
59 return std::chrono::duration_cast<std::chrono::microseconds>(
end_ -
begin_).count();
std::chrono::steady_clock::time_point begin_
long long int elapsedTimeNanoSec()
void startTimer(int micro_secs)
long long int elaspedTimeSec()
long long int elapsedTimeMicroSec()
long long int elapsedTimeMilliSec()
std::chrono::steady_clock::time_point end_