00001
00008
00009
00010
00011
00012 #ifndef __RT_MON_INCLUDE_EVENT_LIST_H_
00013 #define __RT_MON_INCLUDE_EVENT_LIST_H_
00014
00015 #include <l4/rt_mon/types.h>
00016
00017 EXTERN_C_BEGIN
00018
00038 rt_mon_event_list_t *
00039 rt_mon_list_create(int event_size, int event_type, int event_count,
00040 const char * name, const char * unit, int clock,
00041 int shared);
00042
00049 void
00050 rt_mon_list_free(rt_mon_event_list_t * list);
00051
00058 inline void
00059 rt_mon_list_insert(rt_mon_event_list_t * list, const void * event);
00060
00068 inline rt_mon_time_t
00069 rt_mon_list_measure(rt_mon_event_list_t * list);
00070
00080 inline int
00081 rt_mon_list_remove(rt_mon_event_list_t * list, void * event);
00082
00088 void
00089 rt_mon_list_dump(rt_mon_event_list_t * list);
00090
00091 EXTERN_C_END
00092
00093 #endif