libosmocore 1.9.0.196-9975
Osmocom core library
osmo_stat_item Struct Reference

data we keep for each actual item More...

#include <stat_item_internal.h>

Data Fields

const struct osmo_stat_item_descdesc
 back-reference to the item description More...
 
struct osmo_stat_item_period value
 Current reporting period / current value. More...
 
struct osmo_stat_item_period reported
 The results of the previous reporting period. More...
 

Detailed Description

data we keep for each actual item

Field Documentation

◆ desc

const struct osmo_stat_item_desc* osmo_stat_item::desc

back-reference to the item description

Referenced by osmo_stat_item_get_desc(), osmo_stat_item_group_alloc(), osmo_stat_item_handler(), and osmo_stat_item_reset().

◆ reported

struct osmo_stat_item_period osmo_stat_item::reported

The results of the previous reporting period.

According to these, the stats reporter decides whether to re-send values or omit an unchanged value from a report.

Referenced by osmo_stat_item_flush(), and osmo_stat_item_handler().

◆ value


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