FD.io VPP  v20.09-rc2-28-g3c5414029
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_numa_index (void)
 
static_always_inline void os_set_numa_index (uword numa_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 183 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 90 of file os.h.

◆ os_get_nthreads()

uword os_get_nthreads ( void  )

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

+ Here is the caller graph for this function:

◆ os_get_numa_index()

static_always_inline uword os_get_numa_index ( void  )

Definition at line 75 of file os.h.

+ Here is the caller graph for this function:

◆ os_get_thread_index()

static_always_inline uword os_get_thread_index ( void  )

Definition at line 63 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 220 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 175 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 192 of file unix-misc.c.

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

◆ os_set_numa_index()

static_always_inline void os_set_numa_index ( uword  numa_index)

Definition at line 81 of file os.h.

◆ os_set_thread_index()

static_always_inline void os_set_thread_index ( uword  thread_index)

Definition at line 69 of file os.h.