Go to the source code of this file.
Functions | |
static int | thread_equal (l4_threadid_t a, l4_threadid_t b) |
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 | enable_rt_mon |
Definition in file monitor.c.
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().
static int thread_equal | ( | l4_threadid_t | a, | |
l4_threadid_t | b | |||
) | [inline, static] |
Definition at line 21 of file monitor.c.
Referenced by monitor_start(), monitor_thread_dl(), and watch_hit_ts().
int enable_rt_mon |