Minotaur 0.4.1
Docs for developers
|
#include <Timer.h>
Public Member Functions | |
void | start () |
Start the timer. More... | |
void | stop () |
Stop the timer. Can not query after this. More... | |
double | query () const |
![]() | |
virtual void | start ()=0 |
virtual void | stop ()=0 |
virtual double | query () const =0 |
virtual double | wQuery () const |
Additional Inherited Members | |
![]() | |
std::chrono::steady_clock::time_point | w_ |
bool | is_started_ = false |
The default timer when getrusage() function is not defined. Uses clock() to get time.
|
inlinevirtual |
Implements Minotaur::Timer.
|
inlinevirtual |
Start the timer.
Implements Minotaur::Timer.
|
inlinevirtual |
Stop the timer. Can not query after this.
Implements Minotaur::Timer.