diff options
author | Ole Troan <ot@cisco.com> | 2021-05-06 16:15:35 +0200 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2021-05-06 18:09:50 +0000 |
commit | 8f12698f836a94c2aa45a76045d97ca5d9d53e8a (patch) | |
tree | cafae53a8d1f7c9fd5bbd93664b93c2b41dc2390 | |
parent | 1d87914a6121db40bfbc5db979dba20793a03dd0 (diff) |
vlib: remove unused simple counters fields
Type: improvement
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: I46cfdcd02e5fda310367da17532cd2f355044811
Signed-off-by: Ole Troan <ot@cisco.com>
-rw-r--r-- | src/vlib/counter.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/vlib/counter.h b/src/vlib/counter.h index 04ab83769cc..01aefd8ebc0 100644 --- a/src/vlib/counter.h +++ b/src/vlib/counter.h @@ -57,10 +57,6 @@ typedef struct { counter_t **counters; /**< Per-thread u64 non-atomic counters */ - counter_t *value_at_last_serialize; /**< Values as of last serialize. */ - u32 last_incremental_serialize_index; /**< Last counter index - serialized incrementally. */ - char *name; /**< The counter collection's name. */ char *stat_segment_name; /**< Name in stat segment directory */ } vlib_simple_counter_main_t; @@ -207,8 +203,6 @@ vlib_counter_zero (vlib_counter_t * a) typedef struct { vlib_counter_t **counters; /**< Per-thread u64 non-atomic counter pairs */ - vlib_counter_t *value_at_last_serialize; /**< Counter values as of last serialize. */ - u32 last_incremental_serialize_index; /**< Last counter index serialized incrementally. */ char *name; /**< The counter collection's name. */ char *stat_segment_name; /**< Name in stat segment directory */ } vlib_combined_counter_main_t; |