PIOMan

Documentation

PIOMan API
Collaboration diagram for PIOMan API:

Modules

 PIOMan locking interface.
 This interface manages locking and unified threading API.
 
 PIOMan ltask interface
 This is the main PIOMan interface, used to submit light tasks.
 
 Polling constants. Define the polling points.
 

Functions

void pioman_init (void)
 
void pioman_exit (void)
 
void piom_polling_force (void)
 Polling point forced from the application. More...
 
void piom_ltask_schedule (int point)
 Schedule tasks from local or all queues (depending on 'point') More...
 
int piom_ltask_set_bound_thread_indexes (int level, int indexes[], int size)
 Set level and logical ids for bound polling threads from the application. More...
 
int piom_ltask_set_bound_thread_os_indexes (int level, int indexes[], int size)
 Set level and physical ids for bound polling threads from the application. More...
 
int piom_bind_current_thread_to_core (int core_id)
 Bind current thread to a dedicated core. More...
 

Detailed Description

Function Documentation

◆ piom_bind_current_thread_to_core()

int piom_bind_current_thread_to_core ( int  core_id)

Bind current thread to a dedicated core.

Parameters
core_idthe logical id of the core where to bind the thread

◆ piom_ltask_schedule()

void piom_ltask_schedule ( int  point)

Schedule tasks from local or all queues (depending on 'point')

function exported for inlining

Referenced by piom_cond_wait(), and piom_sem_P().

Here is the caller graph for this function:

◆ piom_ltask_set_bound_thread_indexes()

int piom_ltask_set_bound_thread_indexes ( int  level,
int  indexes[],
int  size 
)

Set level and logical ids for bound polling threads from the application.

◆ piom_ltask_set_bound_thread_os_indexes()

int piom_ltask_set_bound_thread_os_indexes ( int  level,
int  indexes[],
int  size 
)

Set level and physical ids for bound polling threads from the application.

◆ piom_polling_force()

void piom_polling_force ( void  )

Polling point forced from the application.

◆ pioman_exit()

void pioman_exit ( void  )

◆ pioman_init()

void pioman_init ( void  )