FD.io VPP  v19.04.3-1-gdfec10d13
Vector Packet Processing
time.c File Reference
+ Include dependency graph for time.c:

Go to the source code of this file.

Functions

static f64 estimate_clock_frequency (f64 sample_time)
 
static f64 clock_frequency_from_proc_filesystem (void)
 
static f64 clock_frequency_from_sys_filesystem (void)
 
f64 os_cpu_clock_frequency (void)
 
void clib_time_init (clib_time_t *c)
 
void clib_time_verify_frequency (clib_time_t *c)
 

Function Documentation

◆ clib_time_init()

void clib_time_init ( clib_time_t c)

Definition at line 178 of file time.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ clib_time_verify_frequency()

void clib_time_verify_frequency ( clib_time_t c)

Definition at line 194 of file time.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ clock_frequency_from_proc_filesystem()

static f64 clock_frequency_from_proc_filesystem ( void  )
static

Definition at line 77 of file time.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ clock_frequency_from_sys_filesystem()

static f64 clock_frequency_from_sys_filesystem ( void  )
static

Definition at line 121 of file time.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ estimate_clock_frequency()

static f64 estimate_clock_frequency ( f64  sample_time)
static

Definition at line 52 of file time.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ os_cpu_clock_frequency()

f64 os_cpu_clock_frequency ( void  )

Definition at line 143 of file time.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: