aboutsummaryrefslogtreecommitdiffstats
path: root/src/bts.h
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-07-07 09:33:29 +0200
committerJacob Erlbeck <jerlbeck@sysmocom.de>2015-07-07 09:33:29 +0200
commitc91c18e6ef9ee5fca3d10b57ebddf211d3655a8d (patch)
treefc3486b62928b9534320ca8502eb88a43c72a51c /src/bts.h
parente0c734dcfe6501198e56bd3a89ad03ce5cfd5129 (diff)
tbf: Add Poll Timeout counters
This commits adds three poll timeout counters - RLC Assign Timeout - RLC Ack Timeout - RLC Release Timeout to help diagnosing to cause for these events. There seems to be an increased rate of these when a PDCH is shared by multiple TBFs. Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/bts.h')
-rw-r--r--src/bts.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/bts.h b/src/bts.h
index 093a8e3e..79640af0 100644
--- a/src/bts.h
+++ b/src/bts.h
@@ -202,6 +202,9 @@ public:
CTR_RLC_RESTARTED,
CTR_RLC_STALLED,
CTR_RLC_NACKED,
+ CTR_RLC_ASS_TIMEDOUT,
+ CTR_RLC_ACK_TIMEDOUT,
+ CTR_RLC_REL_TIMEDOUT,
CTR_DECODE_ERRORS,
CTR_SBA_ALLOCATED,
CTR_SBA_FREED,
@@ -261,6 +264,9 @@ public:
void rlc_restarted();
void rlc_stalled();
void rlc_nacked();
+ void rlc_ass_timedout();
+ void rlc_ack_timedout();
+ void rlc_rel_timedout();
void decode_error();
void sba_allocated();
void sba_freed();
@@ -347,6 +353,9 @@ CREATE_COUNT_INLINE(rlc_resent, CTR_RLC_RESENT)
CREATE_COUNT_INLINE(rlc_restarted, CTR_RLC_RESTARTED)
CREATE_COUNT_INLINE(rlc_stalled, CTR_RLC_STALLED)
CREATE_COUNT_INLINE(rlc_nacked, CTR_RLC_NACKED)
+CREATE_COUNT_INLINE(rlc_ass_timedout, CTR_RLC_ASS_TIMEDOUT);
+CREATE_COUNT_INLINE(rlc_ack_timedout, CTR_RLC_ACK_TIMEDOUT);
+CREATE_COUNT_INLINE(rlc_rel_timedout, CTR_RLC_REL_TIMEDOUT);
CREATE_COUNT_INLINE(decode_error, CTR_DECODE_ERRORS)
CREATE_COUNT_INLINE(sba_allocated, CTR_SBA_ALLOCATED)
CREATE_COUNT_INLINE(sba_freed, CTR_SBA_FREED)