Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <timer.h>
Public Member Functions | |
int64_t | GetCycles () const |
Public Member Functions inherited from WallTimer | |
WallTimer () | |
void | Reset () |
void | Start () |
When Start() is called multiple times, only the most recent is used. | |
void | Restart () |
void | Stop () |
double | Get () const |
int64_t | GetInMs () const |
int64_t | GetInUsec () const |
absl::Duration | GetDuration () const |
bool | IsRunning () const |
Additional Inherited Members | |
Protected Member Functions inherited from WallTimer | |
int64_t | GetNanos () const |
This is meant to be a ultra-fast interface to the hardware cycle counter, without periodic recalibration, to be even faster than absl::GetCurrentTimeNanos(). But this current implementation just uses GetCurrentTimeNanos().
|
inline |