OR-Tools  8.1
WallTimer

Detailed Description

Definition at line 23 of file timer.h.

Public Member Functions

 WallTimer ()
 
void Reset ()
 
void Start ()
 
void Restart ()
 
void Stop ()
 
double Get () const
 
int64 GetInMs () const
 
int64 GetInUsec () const
 
absl::Duration GetDuration () const
 

Protected Member Functions

int64 GetNanos () const
 

Constructor & Destructor Documentation

◆ WallTimer()

WallTimer ( )
inline

Definition at line 25 of file timer.h.

Member Function Documentation

◆ Get()

double Get ( ) const
inline

Definition at line 45 of file timer.h.

◆ GetDuration()

absl::Duration GetDuration ( ) const
inline

Definition at line 48 of file timer.h.

◆ GetInMs()

int64 GetInMs ( ) const
inline

Definition at line 46 of file timer.h.

◆ GetInUsec()

int64 GetInUsec ( ) const
inline

Definition at line 47 of file timer.h.

◆ GetNanos()

int64 GetNanos ( ) const
inlineprotected

Definition at line 53 of file timer.h.

◆ Reset()

void Reset ( )
inline

Definition at line 26 of file timer.h.

◆ Restart()

void Restart ( )
inline

Definition at line 35 of file timer.h.

◆ Start()

void Start ( )
inline

Definition at line 31 of file timer.h.

◆ Stop()

void Stop ( )
inline

Definition at line 39 of file timer.h.


The documentation for this class was generated from the following file: