Go to the source code of this file.
Classes | |
struct | stat_item |
The internal statistics structure where stats are aggregated One per statistic-item. More... | |
Macros | |
#define | MAX_STAT_ID 4192 |
Functions | |
struct timed_rrdb * | get_msu_stat (enum stat_id id, unsigned int msu_id) |
struct timed_rrdb * | get_thread_stat (enum stat_id id, unsigned int thread_id, unsigned int runtime_id) |
int | unregister_msu_stats (unsigned int msu_id) |
int | register_msu_stats (unsigned int msu_id, int msu_type_id, int thread_id, int runtime_id) |
int | unregister_thread_stats (unsigned int thread_id, unsigned int runtime_id) |
int | register_thread_stats (unsigned int thread_id, unsigned int runtime_id) |
int | init_statistics () |
Initializes the entire stats module. More... | |
void | show_stats (struct dfg_msu *msu) |
#define MAX_STAT_ID 4192 |
Definition at line 33 of file controller_stats.h.
struct timed_rrdb* get_msu_stat | ( | enum stat_id | id, |
unsigned int | msu_id | ||
) |
Definition at line 95 of file controller_stats.c.
struct timed_rrdb* get_thread_stat | ( | enum stat_id | id, |
unsigned int | thread_id, | ||
unsigned int | runtime_id | ||
) |
Definition at line 85 of file controller_stats.c.
int init_statistics | ( | ) |
Initializes the entire stats module.
MUST BE CALLED before runtime starts
Definition at line 783 of file rt_stats.c.
int register_msu_stats | ( | unsigned int | msu_id, |
int | msu_type_id, | ||
int | thread_id, | ||
int | runtime_id | ||
) |
Definition at line 170 of file controller_stats.c.
int register_thread_stats | ( | unsigned int | thread_id, |
unsigned int | runtime_id | ||
) |
Definition at line 181 of file controller_stats.c.
void show_stats | ( | struct dfg_msu * | msu | ) |
Definition at line 231 of file controller_stats.c.
int unregister_msu_stats | ( | unsigned int | msu_id | ) |
Definition at line 116 of file controller_stats.c.
int unregister_thread_stats | ( | unsigned int | thread_id, |
unsigned int | runtime_id | ||
) |
Definition at line 124 of file controller_stats.c.