Go to the source code of this file.
Functions | |
int | monitor_start (const sched_t *sched, const l4_threadid_t *thread) |
Start the histogramm of dl overflow of a thread. | |
void | monitor_thread_dl (l4_threadid_t *thread, l4_cpu_time_t time) |
Monitor the consumed time of a thread using the rt_mon lib. | |
Variables | |
int | monitor_enable |
Definition in file monitor.h.
int monitor_start | ( | const sched_t * | sched, | |
const l4_threadid_t * | thread | |||
) |
Start the histogramm of dl overflow of a thread.
Definition at line 30 of file monitor.c.
References sched_t::dl_hist, is_dp(), lock_scheds(), sched_cur_threads, scheds, thread_equal(), and unlock_scheds().
Referenced by l4cpu_reserve_watch_component().
void monitor_thread_dl | ( | l4_threadid_t * | thread, | |
l4_cpu_time_t | time | |||
) |
Monitor the consumed time of a thread using the rt_mon lib.
thread | the thread itself | |
time | consumed time of the thread so far |
Definition at line 61 of file monitor.c.
References sched_t::dl_old, is_dp(), lock_scheds(), sched_cur_threads, scheds, thread_equal(), and unlock_scheds().
Referenced by watcher_fn().
int monitor_enable |
Definition at line 35 of file main.c.
Referenced by l4cpu_reserve_watch_component(), main(), and watcher_fn().