OR-Tools  9.0
CycleTimer

Detailed Description

Definition at line 72 of file timer.h.

Public Member Functions

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

Protected Member Functions

int64_t GetNanos () const
 

Member Function Documentation

◆ Get()

double Get ( ) const
inlineinherited

Definition at line 45 of file timer.h.

◆ GetCycles()

int64_t GetCycles ( ) const
inline

Definition at line 76 of file timer.h.

◆ GetDuration()

absl::Duration GetDuration ( ) const
inlineinherited

Definition at line 48 of file timer.h.

◆ GetInMs()

int64_t GetInMs ( ) const
inlineinherited

Definition at line 46 of file timer.h.

◆ GetInUsec()

int64_t GetInUsec ( ) const
inlineinherited

Definition at line 47 of file timer.h.

◆ GetNanos()

int64_t GetNanos ( ) const
inlineprotectedinherited

Definition at line 53 of file timer.h.

◆ Reset()

void Reset ( )
inlineinherited

Definition at line 26 of file timer.h.

◆ Restart()

void Restart ( )
inlineinherited

Definition at line 35 of file timer.h.

◆ Start()

void Start ( )
inlineinherited

Definition at line 31 of file timer.h.

◆ Stop()

void Stop ( )
inlineinherited

Definition at line 39 of file timer.h.


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