|
Minotaur 0.4.1
Docs for developers
|
#include <Timer.h>


Public Member Functions | |
| void | start () |
| Start the timer. | |
| void | stop () |
| Stop the timer. Can not query after this. | |
| double | query () const |
Public Member Functions inherited from Minotaur::Timer | |
| virtual double | wQuery () const |
Additional Inherited Members | |
Protected Attributes inherited from Minotaur::Timer | |
| 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.