libosmocore 1.13.1.1-afb4 Osmocom core library

Data Fields
osmo_stat_item Struct Reference
Statistics value item

data we keep for each actual item More...

`#include <stat_item_internal.h>`

## Data Fields
const struct osmo_stat_item_desc * | desc
| 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

struct osmo_stat_item_period osmo_stat_item::value

Current reporting period / current value.

Referenced by osmo_stat_item_dec(), osmo_stat_item_flush(), osmo_stat_item_get_last(), osmo_stat_item_handler(), osmo_stat_item_inc(), osmo_stat_item_reset(), and osmo_stat_item_set().

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

- src/core/stat_item_internal.h