diff options
author | Daniel Willmann <dwillmann@sysmocom.de> | 2020-07-14 18:04:18 +0200 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2020-07-17 16:41:31 +0000 |
commit | 26a9539e18295dcd84597cacbd736652075426e2 (patch) | |
tree | 3728be3c9214eddc2877b55f5d9f9063dbb72cae /include/osmocom | |
parent | 0e7349d386ade2107a05c90dcf8a67f498f6975c (diff) |
rate_ctr: Add functions to reset rate counter (groups)
Change-Id: If2f806d044cd0fb6929dac44ef8f8a15941ffe9b
Related: SYS#4877
Diffstat (limited to 'include/osmocom')
-rw-r--r-- | include/osmocom/core/rate_ctr.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/osmocom/core/rate_ctr.h b/include/osmocom/core/rate_ctr.h index f7e6e225..1669ce49 100644 --- a/include/osmocom/core/rate_ctr.h +++ b/include/osmocom/core/rate_ctr.h @@ -116,4 +116,7 @@ int rate_ctr_for_each_counter(struct rate_ctr_group *ctrg, int rate_ctr_for_each_group(rate_ctr_group_handler_t handle_group, void *data); +void rate_ctr_reset(struct rate_ctr *ctr); +void rate_ctr_group_reset(struct rate_ctr_group *ctrg); + /*! @} */ |