Realm
A distributed, event-based tasking library
Loading...
Searching...
No Matches
Realm::Clock Class Reference

#include <timers.h>

Collaboration diagram for Realm::Clock:

Classes

class  TimescaleConverter
 

Static Public Member Functions

static double current_time (bool absolute=false)
 
static long long current_time_in_microseconds (bool absolute=false)
 
static long long current_time_in_nanoseconds (bool absolute=false)
 
static long long get_zero_time (void)
 
static void set_zero_time (void)
 
static uint64_t native_time ()
 
static uint64_t native_to_nanoseconds_absolute (uint64_t native)
 
static uint64_t nanoseconds_to_native_absolute (uint64_t nanoseconds)
 
static int64_t native_to_nanoseconds_delta (int64_t d_native)
 
static int64_t nanoseconds_to_native_delta (int64_t d_nanoseconds)
 
static void calibrate (int use_cpu_tsc, uint64_t force_cpu_tsc_freq)
 
static long long get_calibration_error ()
 

Static Protected Member Functions

static uint64_t native_time_slower ()
 

Static Protected Attributes

static uint64_t zero_time
 
static TimescaleConverter native_to_nanoseconds
 

Member Function Documentation

◆ calibrate()

static void Realm::Clock::calibrate ( int  use_cpu_tsc,
uint64_t  force_cpu_tsc_freq 
)
static

◆ current_time()

static double Realm::Clock::current_time ( bool  absolute = false)
static

◆ current_time_in_microseconds()

static long long Realm::Clock::current_time_in_microseconds ( bool  absolute = false)
static

◆ current_time_in_nanoseconds()

static long long Realm::Clock::current_time_in_nanoseconds ( bool  absolute = false)
static

◆ get_calibration_error()

static long long Realm::Clock::get_calibration_error ( )
static

◆ get_zero_time()

static long long Realm::Clock::get_zero_time ( void  )
static

◆ nanoseconds_to_native_absolute()

static uint64_t Realm::Clock::nanoseconds_to_native_absolute ( uint64_t  nanoseconds)
static

◆ nanoseconds_to_native_delta()

static int64_t Realm::Clock::nanoseconds_to_native_delta ( int64_t  d_nanoseconds)
static

◆ native_time()

static uint64_t Realm::Clock::native_time ( )
static

◆ native_time_slower()

static uint64_t Realm::Clock::native_time_slower ( )
staticprotected

◆ native_to_nanoseconds_absolute()

static uint64_t Realm::Clock::native_to_nanoseconds_absolute ( uint64_t  native)
static

◆ native_to_nanoseconds_delta()

static int64_t Realm::Clock::native_to_nanoseconds_delta ( int64_t  d_native)
static

◆ set_zero_time()

static void Realm::Clock::set_zero_time ( void  )
static

Member Data Documentation

◆ native_to_nanoseconds

TimescaleConverter Realm::Clock::native_to_nanoseconds
staticprotected

◆ zero_time

uint64_t Realm::Clock::zero_time
staticprotected

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