vlib: remove unused simple counters fields
[vpp.git] / src / vlib / counter.h
index 04ab837..01aefd8 100644 (file)
 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;