FD.io VPP  v19.08.1-401-g8e4ed521a
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)
 
u8format_clib_time (u8 *s, va_list *args)
 

Function Documentation

◆ clib_time_init()

void clib_time_init ( clib_time_t c)

Definition at line 207 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 251 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 73 of file time.c.

+ Here is the call graph for this function:

◆ clock_frequency_from_sys_filesystem()

static f64 clock_frequency_from_sys_filesystem ( void  )
static

Definition at line 117 of file time.c.

+ Here is the call graph for this function:

◆ estimate_clock_frequency()

static f64 estimate_clock_frequency ( f64  sample_time)
static

Definition at line 53 of file time.c.

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

◆ format_clib_time()

u8* format_clib_time ( u8 s,
va_list *  args 
)

Definition at line 332 of file time.c.

+ Here is the call graph for this function:

◆ os_cpu_clock_frequency()

f64 os_cpu_clock_frequency ( void  )

Definition at line 139 of file time.c.

+ Here is the caller graph for this function: