L4Re - L4 Runtime Environment
|
CPU sets. More...
#include <scheduler.h>
Public Member Functions | |
unsigned char | granularity () const |
unsigned | offset () const |
void | set (unsigned char granularity, unsigned offset) |
Set offset and granularity. | |
Data Fields | |
l4_umword_t | gran_offset |
Combination of granularity and offset. More... | |
l4_umword_t | map |
Bitmap of CPUs. | |
CPU sets.
Definition at line 44 of file scheduler.h.
|
inline |
Definition at line 67 of file scheduler.h.
Referenced by l4_sched_cpu_set(), and set().
|
inline |
Definition at line 69 of file scheduler.h.
Referenced by l4_sched_cpu_set(), and set().
l4_umword_t l4_sched_cpu_set_t::gran_offset |
Combination of granularity and offset.
The granularity defines how many CPUs each bit in map describes. And the offset is the number of the first CPU described by the first bit in the bitmap.
MSB | LSB |
---|---|
8bit granularity | 24bit offset .. |
Definition at line 58 of file scheduler.h.
Referenced by L4::Scheduler::info(), and l4_sched_cpu_set().