FD.io VPP  v19.08.3-2-gbabecb413
Vector Packet Processing
os.h File Reference
+ Include dependency graph for os.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void os_panic (void)
 
void os_exit (int code)
 
void os_puts (u8 *string, uword length, uword is_error)
 
void os_out_of_memory (void)
 
f64 os_cpu_clock_frequency (void)
 
static_always_inline uword os_get_thread_index (void)
 
static_always_inline void os_set_thread_index (uword thread_index)
 
static_always_inline uword os_get_cpu_number (void)
 
uword os_get_nthreads (void)
 

Function Documentation

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

◆ os_exit()

void os_exit ( int  code)

Definition at line 182 of file unix-misc.c.

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

◆ os_get_cpu_number()

static_always_inline uword os_get_cpu_number ( void  )

Definition at line 77 of file os.h.

◆ os_get_nthreads()

uword os_get_nthreads ( void  )

Definition at line 226 of file unix-misc.c.

+ Here is the caller graph for this function:

◆ os_get_thread_index()

static_always_inline uword os_get_thread_index ( void  )

Definition at line 62 of file os.h.

+ Here is the caller graph for this function:

◆ os_out_of_memory()

void os_out_of_memory ( void  )

Definition at line 219 of file unix-misc.c.

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

◆ os_panic()

void os_panic ( void  )

Definition at line 174 of file unix-misc.c.

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

◆ os_puts()

void os_puts ( u8 string,
uword  length,
uword  is_error 
)

Definition at line 191 of file unix-misc.c.

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

◆ os_set_thread_index()

static_always_inline void os_set_thread_index ( uword  thread_index)

Definition at line 68 of file os.h.