FD.io VPP  v18.07-34-g55fbdb9
Vector Packet Processing
time.h File Reference
+ Include dependency graph for time.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  clib_time_t
 

Macros

#define CLIB_TIME_MAX   (1.7976931348623157e+308)
 

Functions

static u64 clib_cpu_time_now (void)
 
void clib_time_verify_frequency (clib_time_t *c)
 
static f64 clib_time_now_internal (clib_time_t *c, u64 n)
 
static f64 clib_time_now (clib_time_t *c)
 
static void clib_cpu_time_wait (u64 dt)
 
void clib_time_init (clib_time_t *c)
 
static f64 unix_time_now (void)
 
static u64 unix_time_now_nsec (void)
 
static void unix_time_now_nsec_fraction (u32 *sec, u32 *nsec)
 
static f64 unix_usage_now (void)
 
static void unix_sleep (f64 dt)
 

Macro Definition Documentation

#define CLIB_TIME_MAX   (1.7976931348623157e+308)

Definition at line 200 of file time.h.

Function Documentation

static u64 clib_cpu_time_now ( void  )
inlinestatic

Definition at line 73 of file time.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void clib_cpu_time_wait ( u64  dt)
inlinestatic

Definition at line 209 of file time.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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:

static f64 clib_time_now ( clib_time_t c)
inlinestatic

Definition at line 203 of file time.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static f64 clib_time_now_internal ( clib_time_t c,
u64  n 
)
inlinestatic

Definition at line 185 of file time.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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:

static void unix_sleep ( f64  dt)
inlinestatic

Definition at line 265 of file time.h.

+ Here is the call graph for this function:

static f64 unix_time_now ( void  )
inlinestatic

Definition at line 228 of file time.h.

+ Here is the caller graph for this function:

static u64 unix_time_now_nsec ( void  )
inlinestatic

Definition at line 239 of file time.h.

+ Here is the caller graph for this function:

static void unix_time_now_nsec_fraction ( u32 sec,
u32 nsec 
)
inlinestatic

Definition at line 247 of file time.h.

+ Here is the caller graph for this function:

static f64 unix_usage_now ( void  )
inlinestatic

Definition at line 256 of file time.h.

+ Here is the caller graph for this function: