#include <cycletimer.h>
Definition at line 19 of file cycletimer.h.
◆ CycleTimer()
CycleTimer::CycleTimer |
( |
| ) |
|
|
inline |
◆ GetInMs()
int64_t CycleTimer::GetInMs |
( |
| ) |
const |
|
inline |
Definition at line 54 of file cycletimer.h.
55 return running_ ? now() - start_ + sum_ : sum_;
◆ Reset()
void CycleTimer::Reset |
( |
| ) |
|
|
inline |
◆ Restart()
void CycleTimer::Restart |
( |
| ) |
|
|
inline |
◆ Start()
void CycleTimer::Start |
( |
| ) |
|
|
inline |
◆ Stop()
void CycleTimer::Stop |
( |
| ) |
|
|
inline |
Definition at line 48 of file cycletimer.h.
50 sum_ += now() - start_;
The documentation for this class was generated from the following file: