51 for (j = 0; j <
vec_len (my_minis); j++)
53 cm->
maxi[j] += my_minis[j];
61 for (i = 0; i < j; i++)
74 for (j = 0; j <
vec_len (my_minis); j++)
79 my_minis[j].
bytes = 0;
87 for (i = 0; i < j; i++)
#define vec_validate(V, I)
Make sure vector is long enough for given index (no header, unspecified alignment) ...
void serialize_vlib_simple_counter_main(serialize_main_t *m, va_list *va)
always_inline vlib_thread_main_t * vlib_get_thread_main()
sll srl srl sll sra u16x4 i
void vlib_validate_combined_counter(vlib_combined_counter_main_t *cm, u32 index)
#define vec_validate_aligned(V, I, A)
Make sure vector is long enough for given index (no header, specified alignment)
u64 * value_at_last_clear
void vlib_clear_combined_counters(vlib_combined_counter_main_t *cm)
void unserialize_vlib_simple_counter_main(serialize_main_t *m, va_list *va)
#define vec_elt_at_index(v, i)
Get vector value at index i checking that i is in bounds.
#define clib_warning(format, args...)
void serialize_vlib_combined_counter_main(serialize_main_t *m, va_list *va)
vlib_mini_counter_t ** minis
void vlib_validate_simple_counter(vlib_simple_counter_main_t *cm, u32 index)
void unserialize_vlib_combined_counter_main(serialize_main_t *m, va_list *va)
#define vec_len(v)
Number of elements in vector (rvalue-only, NULL tolerant)
void vlib_clear_simple_counters(vlib_simple_counter_main_t *cm)
vlib_counter_t * value_at_last_clear
#define CLIB_CACHE_LINE_BYTES