libosmocore 1.11.0.30-c17053.202507072026
Osmocom core library
Loading...
Searching...
No Matches
stat_item_internal.h
Go to the documentation of this file.
1
3#pragma once
4
21
34
char subsys[16]
logging sub-system
Definition gsmtap.h:9
Statistics item description.
Definition stat_item.h:22
Definition stat_item_internal.h:9
int64_t sum
Sum of all values passed to osmo_stat_item_set() in the reporting period.
Definition stat_item_internal.h:19
uint32_t n
Number of osmo_stat_item_set() that occurred during the reporting period, zero if none.
Definition stat_item_internal.h:11
int32_t max
Largest value seen in a reporting period.
Definition stat_item_internal.h:17
int32_t min
Smallest value seen in a reporting period.
Definition stat_item_internal.h:13
int32_t last
Most recent value passed to osmo_stat_item_set(), or the item->desc->default_value if none.
Definition stat_item_internal.h:15
data we keep for each actual item
Definition stat_item_internal.h:23
const struct osmo_stat_item_desc * desc
back-reference to the item description
Definition stat_item_internal.h:25
struct osmo_stat_item_period value
Current reporting period / current value.
Definition stat_item_internal.h:28
struct osmo_stat_item_period reported
The results of the previous reporting period.
Definition stat_item_internal.h:32