granularity.h File Reference

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.


Detailed Description

Date:
09/18/2004
Author:
Jork Loeser <jork.loeser@inf.tu-dresden.de>

Definition in file granularity.h.


Function Documentation

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.

Return values:
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().


CPU reservation server Reference Manual, written by Jork Loeser  © 2004