Go to the source code of this file.
Functions | |
int | granularity (void) |
Return scheduling granularity. | |
int | granularity_roundup (unsigned time) |
Round time up to the next kernel-supported granularity. |
Definition in file granularity.h.
int granularity | ( | void | ) |
Return scheduling granularity.
Definition at line 36 of file granularity.c.
References granularity_init(), and kernel_granularity.
Referenced by main().
int granularity_roundup | ( | unsigned | time | ) |
Round time up to the next kernel-supported granularity.
0 | some error occured | |
>0 | OK |
Definition at line 46 of file granularity.c.
References granularity_init(), and kernel_granularity.
Referenced by l4cpu_reserve_add_component(), and l4cpu_reserve_change_component().