25 void reset() { this->time = std::chrono::high_resolution_clock::now(); }
29 return 1.0e-6 * std::chrono::duration_cast<std::chrono::microseconds>(
30 std::chrono::high_resolution_clock::now() - this->time)
36 return 1.0e-3 * std::chrono::duration_cast<std::chrono::microseconds>(
37 std::chrono::high_resolution_clock::now() - this->time)
42 std::chrono::high_resolution_clock::time_point time;
double getElapsedMilliseconds() const
Definition: Timer.h:34
double getElapsedSeconds() const
Definition: Timer.h:27
TimerCPU()
Definition: Timer.h:23
void reset()
Definition: Timer.h:25
Definition: kernelparams.h:21