aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsivasankari <Sivasankari.Theerthagiri@radisys.com>2016-12-15 17:39:14 +0530
committerHarald Welte <laforge@gnumonks.org>2016-12-22 14:09:43 +0000
commitee78bf0882d982ed69a98a0207dec1a1d00de32a (patch)
tree4ca902f13161a16b72e16f654c59e19de7e230a3
parentda7250ad2c1cd5ddc7d3c6e10435a00b357ef8f7 (diff)
Adds rate_ctr_init in the startup of osmo-pcu
Issue:Though the rate_ctr framework is used in osmo-pcu for bts statistics, the interval counters are always 0. Fix:rate_ctr_init is added in the startup which arms the timer and hence the rate ctr intervals is displayed with proper values. Change-Id: Ib0f33d2de9406aa7436aa9aeb6a8dabdff96383b
-rw-r--r--src/pcu_main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pcu_main.cpp b/src/pcu_main.cpp
index 4a75c79..0a0362b 100644
--- a/src/pcu_main.cpp
+++ b/src/pcu_main.cpp
@@ -221,6 +221,7 @@ int main(int argc, char *argv[])
osmo_init_logging(&gprs_log_info);
osmo_stats_init(tall_pcu_ctx);
+ rate_ctr_init(tall_pcu_ctx);
gprs_ns_set_log_ss(DNS);
bssgp_set_log_ss(DBSSGP);