FD.io VPP  v21.01.1
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)
 
__clib_export f64 os_cpu_clock_frequency (void)
 
__clib_export void clib_time_init (clib_time_t *c)
 
__clib_export void clib_time_verify_frequency (clib_time_t *c)
 
__clib_export u8format_clib_time (u8 *s, va_list *args)
 

Function Documentation

◆ clib_time_init()

__clib_export 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()

__clib_export 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()

__clib_export 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()

__clib_export f64 os_cpu_clock_frequency ( void  )

Definition at line 139 of file time.c.

+ Here is the caller graph for this function: