Xenomai API  2.5.6.1
xnthread_info Struct Reference

Structure containing thread information. More...

Data Fields

unsigned long state
 Thread state,.
int bprio
 Base priority.
int cprio
 Current priority.
int cpu
 CPU the thread currently runs on.
unsigned long affinity
 Thread's CPU affinity.
unsigned long long relpoint
 Time of next release.
unsigned long long exectime
 Execution time in primary mode in nanoseconds.
unsigned long modeswitches
 Number of primary->secondary mode switches.
unsigned long ctxswitches
 Number of context switches.
unsigned long pagefaults
 Number of triggered page faults.
char name [XNOBJECT_NAME_LEN]
 Symbolic name assigned at creation.

Detailed Description

Structure containing thread information.


Field Documentation

unsigned long xnthread_info::affinity

Thread's CPU affinity.

Base priority.

Current priority.

May change through Priority Inheritance.

CPU the thread currently runs on.

Number of context switches.

unsigned long long xnthread_info::exectime

Execution time in primary mode in nanoseconds.

Number of primary->secondary mode switches.

char xnthread_info::name[XNOBJECT_NAME_LEN]

Symbolic name assigned at creation.

Number of triggered page faults.

unsigned long long xnthread_info::relpoint

Time of next release.

unsigned long xnthread_info::state

Thread state,.

See also:
Thread state flags.

The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines