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;
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;