OR-Tools  8.1
CycleTimer

Detailed Description

Definition at line 72 of file timer.h.

Public Member Functions

int64 GetCycles () const
 
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
 

Member Function Documentation

◆ Get()

double Get ( ) const
inlineinherited

Definition at line 45 of file timer.h.

◆ GetCycles()

int64 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 GetInMs ( ) const
inlineinherited

Definition at line 46 of file timer.h.

◆ GetInUsec()

int64 GetInUsec ( ) const
inlineinherited

Definition at line 47 of file timer.h.

◆ GetNanos()

int64 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: