diff options
author | sivasankari <Sivasankari.Theerthagiri@radisys.com> | 2016-12-08 17:15:17 +0530 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2016-12-09 12:05:43 +0000 |
commit | 5395073fff9870e82358721126062d501ea4ad31 (patch) | |
tree | 94d7f2feabef3140eb9179b1b3b8c7d2fd06692e /src/gprs_rlcmac_meas.cpp | |
parent | cc4214a4290a1d764d511b90beb48d55332b2bd1 (diff) |
Add statistics in the ms and tbf level.
Adds DL throughput in show ms imsi <imsi_value>.
Adds the number of coding schemes counter and rlc nacked counter at TBf level.
Change-Id: Ia95b0404989b00db0e7ba416bc40d09ef41fde1c
Diffstat (limited to 'src/gprs_rlcmac_meas.cpp')
-rw-r--r-- | src/gprs_rlcmac_meas.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gprs_rlcmac_meas.cpp b/src/gprs_rlcmac_meas.cpp index 5a2e38e9..d6bbc196 100644 --- a/src/gprs_rlcmac_meas.cpp +++ b/src/gprs_rlcmac_meas.cpp @@ -179,6 +179,8 @@ int gprs_rlcmac_dl_bw(struct gprs_rlcmac_dl_tbf *tbf, uint16_t octets) if (elapsed < 128) return 0; + tbf->m_bw.dl_throughput = (tbf->m_bw.dl_bw_octets/elapsed); + LOGP(DRLCMACMEAS, LOGL_INFO, "DL Bandwitdh of IMSI=%s / TLLI=0x%08x: " "%d KBits/s\n", tbf->imsi(), tbf->tlli(), tbf->m_bw.dl_bw_octets / elapsed); |