ngc 1.5.0
 
Loading...
Searching...
No Matches
ngcbSchedCpu.c File Reference

Macros

#define _GNU_SOURCE
 
#define _REENTRANT
 

Functions

int ngcbCpuNumCores (void)
 
int ngcbCpuRT ()
 
int ngcbCpu2Thread (ngcb_thread_t thread, int cpu, int flag)
 
int ngcbCpuAssign (int cpu, int flag)
 
void ngcbCpuShow (const char *name)
 
int ngcbCpuDisableLatencyStates (char *erms)
 
void ngcbCpuResetLatencyStates (int fd)
 

Variables

int ngcbCpuProfile = ngcbCPU_PROFILE_DMA
 

Detailed Description

Macro Definition Documentation

◆ _GNU_SOURCE

#define _GNU_SOURCE

◆ _REENTRANT

#define _REENTRANT

Function Documentation

◆ ngcbCpu2Thread()

int ngcbCpu2Thread ( ngcb_thread_t thread,
int cpu,
int flag )

Assign CPUs to a thread.

◆ ngcbCpuAssign()

int ngcbCpuAssign ( int cpu,
int flag )

Assign CPUs to the current process.

◆ ngcbCpuDisableLatencyStates()

int ngcbCpuDisableLatencyStates ( char * erms)

Disable CPU DMA latency states

◆ ngcbCpuNumCores()

int ngcbCpuNumCores ( void )

Return the number of available CPU cores.

◆ ngcbCpuResetLatencyStates()

void ngcbCpuResetLatencyStates ( int fd)

Reset CPU DMA latency states to default value

◆ ngcbCpuRT()

int ngcbCpuRT ( void )

Return the lowest number of the RT-service CPUs.

◆ ngcbCpuShow()

void ngcbCpuShow ( const char * name)

Print out CPU assignment (debugging function).

Variable Documentation

◆ ngcbCpuProfile

int ngcbCpuProfile = ngcbCPU_PROFILE_DMA

CPU profile