The structure holding all items of a type of stats. More...
Public Attributes | |
enum stat_id | id |
Stat ID as defined in stats.h. More... | |
bool | enabled |
If true, logging for this item is enabled. More... | |
int | max_stats |
Maximum number of statistics that can be held in memory. More... | |
char * | format |
Format for printf. More... | |
char * | label |
Name to output for this statistic. More... | |
int | id_indices [MAX_STAT_ITEM_ID] |
Index at which the IDs are stored. More... | |
int | num_items |
Number of items currently registered for logging. More... | |
int | max_items |
Number of items allocated for logging. More... | |
pthread_rwlock_t | lock |
Lock for adding new stat items. More... | |
struct stat_item * | items |
The items of this type being logged. More... | |
char * | name |
The structure holding all items of a type of stats.
Definition at line 62 of file rt_stats.c.
bool stat_type::enabled |
If true, logging for this item is enabled.
Definition at line 64 of file rt_stats.c.
char* stat_type::format |
Format for printf.
Definition at line 66 of file rt_stats.c.
enum stat_id stat_type::id |
Stat ID as defined in stats.h.
Definition at line 63 of file rt_stats.c.
int stat_type::id_indices |
Index at which the IDs are stored.
Definition at line 68 of file rt_stats.c.
struct stat_item * stat_type::items |
The items of this type being logged.
Definition at line 72 of file rt_stats.c.
char* stat_type::label |
Name to output for this statistic.
Definition at line 67 of file rt_stats.c.
pthread_rwlock_t stat_type::lock |
Lock for adding new stat items.
Definition at line 71 of file rt_stats.c.
int stat_type::max_items |
Number of items allocated for logging.
Definition at line 70 of file rt_stats.c.
int stat_type::max_stats |
Maximum number of statistics that can be held in memory.
Definition at line 65 of file rt_stats.c.
char* stat_type::name |
Definition at line 32 of file controller_stats.c.
int stat_type::num_items |
Number of items currently registered for logging.
Definition at line 69 of file rt_stats.c.