main.c File Reference

CPU reservation daemon. More...

Go to the source code of this file.

Functions

int l4cpu_reserve_add_component (l4_threadid_t *caller, const l4_threadid_t *thread, const char *name, int prio, int period, int *wcet, int deadline, int *id_p, CORBA_Server_Environment *env)
int l4cpu_reserve_delayed_preempt_component (l4_threadid_t *caller, const l4_threadid_t *thread, int id, int prio, int *delay, CORBA_Server_Environment *env)
int l4cpu_reserve_change_component (l4_threadid_t *caller, const l4_threadid_t *thread, int id, int new_prio, int *new_wcet, int new_deadline, CORBA_Server_Environment *env)
int l4cpu_reserve_delete_thread_component (l4_threadid_t *caller, const l4_threadid_t *thread, CORBA_Server_Environment *env)
int l4cpu_reserve_delete_task_component (l4_threadid_t *caller, const l4_threadid_t *task, CORBA_Server_Environment *env)
int l4cpu_reserve_begin_strictly_periodic_component (l4_threadid_t *caller, const l4_threadid_t *thread, l4_kernel_clock_t clock, CORBA_Server_Environment *env)
int l4cpu_reserve_begin_minimal_periodic_component (l4_threadid_t *caller, const l4_threadid_t *thread, l4_kernel_clock_t clock, CORBA_Server_Environment *env)
int l4cpu_reserve_end_periodic_component (l4_threadid_t *caller, const l4_threadid_t *thread, CORBA_Server_Environment *env)
int l4cpu_reserve_watch_component (l4_threadid_t *caller, const l4_threadid_t *thread, l4dm_dataspace_t *ds, l4_threadid_t *preempter, CORBA_Server_Environment *env)
int l4cpu_reserve_scheds_count_component (l4_threadid_t *caller, CORBA_Server_Environment *env)
int l4cpu_reserve_scheds_get_component (l4_threadid_t *caller, int idx, char **name, l4_threadid_t *thread, l4_threadid_t *creator, int *id, int *prio, int *period, int *wcet, int *deadline, CORBA_Server_Environment *env)
int l4cpu_reserve_time_demand_component (l4_threadid_t *caller, const l4_threadid_t *thread, int id, CORBA_Server_Environment *env)
int main (int argc, const char **argv)

Variables

static int verbose
int watch_verbose
int monitor_enable
l4_ssize_t l4libc_heapsize = 64*1024
l4_threadid_t main_id


Detailed Description

CPU reservation daemon.

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

Definition in file main.c.


Function Documentation

int l4cpu_reserve_add_component ( l4_threadid_t *  caller,
const l4_threadid_t *  thread,
const char *  name,
int  prio,
int  period,
int *  wcet,
int  deadline,
int *  id_p,
CORBA_Server_Environment *  env 
)

int l4cpu_reserve_begin_minimal_periodic_component ( l4_threadid_t *  caller,
const l4_threadid_t *  thread,
l4_kernel_clock_t  clock,
CORBA_Server_Environment *  env 
)

Definition at line 446 of file main.c.

References verbose.

int l4cpu_reserve_begin_strictly_periodic_component ( l4_threadid_t *  caller,
const l4_threadid_t *  thread,
l4_kernel_clock_t  clock,
CORBA_Server_Environment *  env 
)

Definition at line 424 of file main.c.

References verbose.

int l4cpu_reserve_change_component ( l4_threadid_t *  caller,
const l4_threadid_t *  thread,
int  id,
int  new_prio,
int *  new_wcet,
int  new_deadline,
CORBA_Server_Environment *  env 
)

int l4cpu_reserve_delayed_preempt_component ( l4_threadid_t *  caller,
const l4_threadid_t *  thread,
int  id,
int  prio,
int *  delay,
CORBA_Server_Environment *  env 
)

int l4cpu_reserve_delete_task_component ( l4_threadid_t *  caller,
const l4_threadid_t *  task,
CORBA_Server_Environment *  env 
)

int l4cpu_reserve_delete_thread_component ( l4_threadid_t *  caller,
const l4_threadid_t *  thread,
CORBA_Server_Environment *  env 
)

int l4cpu_reserve_end_periodic_component ( l4_threadid_t *  caller,
const l4_threadid_t *  thread,
CORBA_Server_Environment *  env 
)

Definition at line 460 of file main.c.

References verbose.

int l4cpu_reserve_scheds_count_component ( l4_threadid_t *  caller,
CORBA_Server_Environment *  env 
)

Definition at line 531 of file main.c.

References sched_cur_threads, and verbose.

int l4cpu_reserve_scheds_get_component ( l4_threadid_t *  caller,
int  idx,
char **  name,
l4_threadid_t *  thread,
l4_threadid_t *  creator,
int *  id,
int *  prio,
int *  period,
int *  wcet,
int *  deadline,
CORBA_Server_Environment *  env 
)

int l4cpu_reserve_time_demand_component ( l4_threadid_t *  caller,
const l4_threadid_t *  thread,
int  id,
CORBA_Server_Environment *  env 
)

Definition at line 560 of file main.c.

References is_dp(), sched_cur_threads, sched_response_time(), and scheds.

int l4cpu_reserve_watch_component ( l4_threadid_t *  caller,
const l4_threadid_t *  thread,
l4dm_dataspace_t *  ds,
l4_threadid_t *  preempter,
CORBA_Server_Environment *  env 
)

int main ( int  argc,
const char **  argv 
)


Variable Documentation

l4_ssize_t l4libc_heapsize = 64*1024

Definition at line 36 of file main.c.

l4_threadid_t main_id

Definition at line 37 of file main.c.

Referenced by main(), and watcher_fn().

Definition at line 35 of file main.c.

Referenced by l4cpu_reserve_watch_component(), main(), and watcher_fn().

int verbose [static]

Definition at line 34 of file main.c.

Referenced by main(), and watcher_fn().


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