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

Conversion routines between CycleTimer::GetCycles and actual times. More...

#include <timer.h>

Static Public Member Functions

static int64_t SecondsToCycles (double s)
 
static double CyclesToSeconds (int64_t c)
 
static int64_t CyclesToMs (int64_t c)
 
static int64_t CyclesToUsec (int64_t c)
 

Detailed Description

Conversion routines between CycleTimer::GetCycles and actual times.

Definition at line 84 of file timer.h.

Member Function Documentation

◆ CyclesToMs()

static int64_t CycleTimerBase::CyclesToMs ( int64_t c)
inlinestatic

Definition at line 90 of file timer.h.

◆ CyclesToSeconds()

static double CycleTimerBase::CyclesToSeconds ( int64_t c)
inlinestatic

Definition at line 89 of file timer.h.

◆ CyclesToUsec()

static int64_t CycleTimerBase::CyclesToUsec ( int64_t c)
inlinestatic

Definition at line 91 of file timer.h.

◆ SecondsToCycles()

static int64_t CycleTimerBase::SecondsToCycles ( double s)
inlinestatic

Definition at line 86 of file timer.h.


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