FD.io VPP  v19.04.4-rc0-5-ge88582fac
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

◆ CLIB_TIME_MAX

#define CLIB_TIME_MAX   (1.7976931348623157e+308)

Definition at line 212 of file time.h.

Function Documentation

◆ clib_cpu_time_now()

static u64 clib_cpu_time_now ( void  )
inlinestatic

Definition at line 75 of file time.h.

+ Here is the call graph for this function:

◆ clib_cpu_time_wait()

static void clib_cpu_time_wait ( u64  dt)
inlinestatic

Definition at line 221 of file time.h.

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

◆ 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_now()

static f64 clib_time_now ( clib_time_t c)
inlinestatic

Definition at line 215 of file time.h.

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

◆ clib_time_now_internal()

static f64 clib_time_now_internal ( clib_time_t c,
u64  n 
)
inlinestatic

Definition at line 197 of file time.h.

+ 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:

◆ unix_sleep()

static void unix_sleep ( f64  dt)
inlinestatic

Definition at line 289 of file time.h.

+ Here is the call graph for this function:

◆ unix_time_now()

static f64 unix_time_now ( void  )
inlinestatic

Definition at line 240 of file time.h.

+ Here is the caller graph for this function:

◆ unix_time_now_nsec()

static u64 unix_time_now_nsec ( void  )
inlinestatic

Definition at line 255 of file time.h.

+ Here is the caller graph for this function:

◆ unix_time_now_nsec_fraction()

static void unix_time_now_nsec_fraction ( u32 sec,
u32 nsec 
)
inlinestatic

Definition at line 267 of file time.h.

+ Here is the caller graph for this function:

◆ unix_usage_now()

static f64 unix_usage_now ( void  )
inlinestatic

Definition at line 280 of file time.h.

+ Here is the caller graph for this function: