libosmocore 1.9.0.191-50e38
Osmocom core library
rate_ctr_group Struct Reference

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_descdesc
 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...
 

Detailed Description

One instance of a counter group class.

Field Documentation

◆ ctr

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().

◆ desc

◆ idx

◆ list

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().

◆ name

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().


The documentation for this struct was generated from the following file: