Minotaur 0.4.1
Docs for developers
|
#include <Timer.h>
Public Member Functions | |
virtual void | start ()=0 |
virtual void | stop ()=0 |
virtual double | query () const =0 |
virtual double | wQuery () const |
Protected Attributes | |
std::chrono::steady_clock::time_point | w_ |
bool | is_started_ = false |
The Timer class is used to measure time. A Timer can be queried only after starting and before stopping it. A Timer should always be generated through the TimerFactory::GetTimer() method because different machines may need different types of timers.
|
pure virtual |
Implemented in Minotaur::ClockTimer.
|
pure virtual |
Implemented in Minotaur::ClockTimer.