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 |
Definition in file main.c.
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 | |||
) |
Definition at line 39 of file main.c.
References granularity_roundup(), is_dp(), lock_scheds(), sched_t::name, sched_cur_threads, sched_index(), sched_max_threads, sched_response_time(), scheds, unlock_scheds(), and verbose.
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_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_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 | |||
) |
Definition at line 224 of file main.c.
References sched_t::deadline, granularity_roundup(), sched_t::id, is_dp(), lock_scheds(), sched_t::prio, sched_cur_threads, sched_index(), sched_response_time(), scheds, sched_t::thread, unlock_scheds(), verbose, and sched_t::wcet.
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 | |||
) |
Definition at line 145 of file main.c.
References sched_t::deadline, is_dp(), lock_scheds(), sched_t::name, sched_t::prio, sched_cur_threads, sched_index(), sched_max_threads, sched_response_time(), scheds, unlock_scheds(), and verbose.
int l4cpu_reserve_delete_task_component | ( | l4_threadid_t * | caller, | |
const l4_threadid_t * | task, | |||
CORBA_Server_Environment * | env | |||
) |
Definition at line 396 of file main.c.
References lock_scheds(), sched_cur_threads, sched_free(), sched_prepare_free(), scheds, thread, unlock_scheds(), and verbose.
int l4cpu_reserve_delete_thread_component | ( | l4_threadid_t * | caller, | |
const l4_threadid_t * | thread, | |||
CORBA_Server_Environment * | env | |||
) |
Definition at line 356 of file main.c.
References lock_scheds(), sched_cur_threads, sched_free(), sched_prepare_free(), scheds, unlock_scheds(), and verbose.
int l4cpu_reserve_end_periodic_component | ( | l4_threadid_t * | caller, | |
const l4_threadid_t * | thread, | |||
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 | |||
) |
Definition at line 537 of file main.c.
References sched_t::creator, sched_t::deadline, sched_t::id, sched_t::period, sched_t::prio, sched_cur_threads, scheds, sched_t::thread, and sched_t::wcet.
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 | |||
) |
Definition at line 472 of file main.c.
References is_dp(), monitor_enable, monitor_start(), sched_cur_threads, scheds, verbose, sched_t::watch, sched_t::watcher, sched_t::watcher_end_sem, and watcher_fn().
int main | ( | int | argc, | |
const char ** | argv | |||
) |
Definition at line 578 of file main.c.
References granularity(), l4cpu_reserve_name, main_id, monitor_enable, sched_init(), sched_max_threads, verbose, and watch_verbose.
l4_ssize_t l4libc_heapsize = 64*1024 |
l4_threadid_t main_id |
int monitor_enable |
Definition at line 35 of file main.c.
Referenced by l4cpu_reserve_watch_component(), main(), and watcher_fn().
int verbose [static] |
Definition at line 33 of file main.c.
Referenced by l4cpu_reserve_add_component(), l4cpu_reserve_begin_minimal_periodic_component(), l4cpu_reserve_begin_strictly_periodic_component(), l4cpu_reserve_change_component(), l4cpu_reserve_delayed_preempt_component(), l4cpu_reserve_delete_task_component(), l4cpu_reserve_delete_thread_component(), l4cpu_reserve_end_periodic_component(), l4cpu_reserve_scheds_count_component(), l4cpu_reserve_watch_component(), and main().
int watch_verbose |