libosmocore 1.10.0.10-24ad1
Osmocom core library
|
One instance of a counter group class. More...
#include <rate_ctr.h>
Data Fields | |
struct llist_head | list |
Linked list of all counter groups in the system. More... | |
const struct rate_ctr_group_desc * | desc |
Pointer to the counter group class. More... | |
unsigned int | idx |
The index of this ctr_group within its class. More... | |
char * | name |
Optional string-based identifier to be used instead of index at report time. More... | |
struct rate_ctr | ctr [0] |
Actual counter structures below. More... | |
One instance of a counter group class.
struct rate_ctr rate_ctr_group::ctr[0] |
Actual counter structures below.
Don't access it directly, use APIs below!
Referenced by rate_ctr_for_each_counter(), rate_ctr_get_by_name(), rate_ctr_group_get_ctr(), rate_ctr_group_intv(), rate_ctr_group_reset(), and rate_ctr_reset().
const struct rate_ctr_group_desc* rate_ctr_group::desc |
Pointer to the counter group class.
Referenced by osmo_stats_reporter_log_send_counter(), osmo_stats_reporter_statsd_send_counter(), rate_ctr_for_each_counter(), rate_ctr_get_by_name(), rate_ctr_get_group_by_name_idx(), rate_ctr_get_unused_name_idx(), rate_ctr_group_alloc(), rate_ctr_group_intv(), rate_ctr_group_reset(), and rate_ctr_handler().
unsigned int rate_ctr_group::idx |
The index of this ctr_group within its class.
Referenced by osmo_stats_reporter_log_send_counter(), osmo_stats_reporter_statsd_send_counter(), rate_ctr_get_group_by_name_idx(), rate_ctr_get_unused_name_idx(), rate_ctr_group_alloc(), rate_ctr_group_upd_idx(), and rate_ctr_handler().
struct llist_head rate_ctr_group::list |
Linked list of all counter groups in the system.
Referenced by rate_ctr_group_alloc(), and rate_ctr_group_free().
char* rate_ctr_group::name |
Optional string-based identifier to be used instead of index at report time.
Referenced by osmo_stats_reporter_statsd_send_counter(), and rate_ctr_group_set_name().