paging: Rename stat t3113 -> paging:t3113

This way all paging related stats can be grouped  (more will be added in
follow-up commits).

Related: SYS#6200
Change-Id: Iede1b6f68df468c7a3b3bf5fce7f68bb08b78832
This commit is contained in:
Pau Espin 2022-11-22 17:00:04 +01:00 committed by pespin
parent 1784524392
commit fd62ac483e
3 changed files with 5 additions and 5 deletions

View File

@ -228,7 +228,7 @@ enum {
BTS_STAT_TS_BORKEN,
BTS_STAT_NUM_TRX_RSL_CONNECTED,
BTS_STAT_NUM_TRX_TOTAL,
BTS_STAT_T3113,
BTS_STAT_PAGING_T3113,
};
extern const struct osmo_stat_item_desc bts_stat_desc[];

View File

@ -1042,7 +1042,7 @@ void gsm_bts_stats_reset(struct gsm_bts *bts)
osmo_stat_item_set(osmo_stat_item_group_get_item(bts->bts_statg, BTS_STAT_CHAN_SDCCH8_CBCH_TOTAL), 0);
osmo_stat_item_set(osmo_stat_item_group_get_item(bts->bts_statg, BTS_STAT_CHAN_OSMO_DYN_USED), 0);
osmo_stat_item_set(osmo_stat_item_group_get_item(bts->bts_statg, BTS_STAT_CHAN_OSMO_DYN_TOTAL), 0);
osmo_stat_item_set(osmo_stat_item_group_get_item(bts->bts_statg, BTS_STAT_T3113), 0);
osmo_stat_item_set(osmo_stat_item_group_get_item(bts->bts_statg, BTS_STAT_PAGING_T3113), 0);
}
const struct rate_ctr_desc bts_ctr_description[] = {
@ -1694,8 +1694,8 @@ const struct osmo_stat_item_desc bts_stat_desc[] = {
{ "num_trx:total",
"Number of configured TRX in this BTS",
"" },
[BTS_STAT_T3113] = \
{ "t3113",
[BTS_STAT_PAGING_T3113] = \
{ "paging:t3113",
"T3113 paging timer",
"s", 60, 0 },
};

View File

@ -388,7 +388,7 @@ static unsigned int calculate_timer_3113(struct gsm_paging_request *req, unsigne
"Paging request: T3113 expires in %u seconds (estimated %u)\n",
to, estimated_to);
ret:
osmo_stat_item_set(osmo_stat_item_group_get_item(bts->bts_statg, BTS_STAT_T3113), to);
osmo_stat_item_set(osmo_stat_item_group_get_item(bts->bts_statg, BTS_STAT_PAGING_T3113), to);
return to;
}