33 #define MAX_STAT_ID 4192
Round-robin database (circular buffer) for storing timeseries data.
struct timed_rrdb * get_msu_stat(enum stat_id id, unsigned int msu_id)
Macro for declaring functions or variables as unused to avoid compiler warnings.
void show_stats(struct dfg_msu *msu)
int register_msu_stats(unsigned int msu_id, int msu_type_id, int thread_id, int runtime_id)
stat_id
The identifiers with which stats can be logged.
unsigned int id
A unique identifier for the item being logged.
int register_thread_stats(unsigned int thread_id, unsigned int runtime_id)
Functions for the sending and receiving of statistics between ctrl and runtime.
int init_statistics()
Initializes the entire stats module.
The internal statistics structure where stats are aggregated One per statistic-item.
Representation of a single MSU in the dfg.
int unregister_thread_stats(unsigned int thread_id, unsigned int runtime_id)
Interfaces for the creation and modification of the data-flow-graph and and general description of th...
struct timed_stat * stats
Timestamp and data for each gathered statistic.
static int runtime_id(int runtime_fd)
int unregister_msu_stats(unsigned int msu_id)
struct timed_rrdb * get_thread_stat(enum stat_id id, unsigned int thread_id, unsigned int runtime_id)