chrono::ChTimer Class Reference
Description
Chrono wrappers for high-resolution timers.
#include <ChTimer.h>
Inheritance diagram for chrono::ChTimer:

Public Member Functions | |
void | start () |
Start the timer. | |
void | stop () |
Stop the timer. | |
void | reset () |
Reset the total accumulated time (when repeating multiple start/stop). | |
unsigned long long | GetTimeMilliseconds () const |
Return the time in milliseconds. More... | |
unsigned long long | GetTimeMicroseconds () const |
Return the time in microseconds. More... | |
unsigned long long | GetTimeMillisecondsIntermediate () const |
Return the time in m,illiseconds since start(). More... | |
unsigned long long | GetTimeMicrosecondsIntermediate () const |
Return the time in microseconds since start(). More... | |
double | GetTimeSeconds () const |
Return the time in seconds. More... | |
double | GetTimeSecondsIntermediate () const |
Return the time in seconds since start(). More... | |
double | operator() () const |
Get the last timer value, in seconds. | |
Member Function Documentation
◆ GetTimeMicroseconds()
|
inline |
◆ GetTimeMicrosecondsIntermediate()
|
inline |
◆ GetTimeMilliseconds()
|
inline |
◆ GetTimeMillisecondsIntermediate()
|
inline |
◆ GetTimeSeconds()
|
inline |
◆ GetTimeSecondsIntermediate()
|
inline |
The documentation for this class was generated from the following file:
- /builds/uwsbel/chrono/src/chrono/core/ChTimer.h