Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
WallTimer Class Reference

Detailed Description

Definition at line 22 of file timer.h.

#include <timer.h>

Inheritance diagram for WallTimer:
CycleTimer

Public Member Functions

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

Protected Member Functions

int64_t GetNanos () const

Constructor & Destructor Documentation

◆ WallTimer()

WallTimer::WallTimer ( )
inline

Definition at line 24 of file timer.h.

Member Function Documentation

◆ Get()

double WallTimer::Get ( ) const
inline

Definition at line 44 of file timer.h.

◆ GetDuration()

absl::Duration WallTimer::GetDuration ( ) const
inline

Definition at line 47 of file timer.h.

◆ GetInMs()

int64_t WallTimer::GetInMs ( ) const
inline

Definition at line 45 of file timer.h.

◆ GetInUsec()

int64_t WallTimer::GetInUsec ( ) const
inline

Definition at line 46 of file timer.h.

◆ GetNanos()

int64_t WallTimer::GetNanos ( ) const
inlineprotected

Definition at line 53 of file timer.h.

◆ IsRunning()

bool WallTimer::IsRunning ( ) const
inline

Definition at line 50 of file timer.h.

◆ Reset()

void WallTimer::Reset ( )
inline

Definition at line 25 of file timer.h.

◆ Restart()

void WallTimer::Restart ( )
inline

Definition at line 34 of file timer.h.

◆ Start()

void WallTimer::Start ( )
inline

Definition at line 30 of file timer.h.

◆ Stop()

void WallTimer::Stop ( )
inline

Definition at line 38 of file timer.h.


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