FD.io VPP
v20.01-48-g3e0dafb74
Vector Packet Processing
|
Go to the source code of this file.
Functions | |
void | vlib_clear_simple_counters (vlib_simple_counter_main_t *cm) |
Clear a collection of simple counters. More... | |
void | vlib_clear_combined_counters (vlib_combined_counter_main_t *cm) |
Clear a collection of combined counters. More... | |
void | vlib_validate_simple_counter (vlib_simple_counter_main_t *cm, u32 index) |
validate a simple counter More... | |
void | vlib_validate_combined_counter (vlib_combined_counter_main_t *cm, u32 index) |
validate a combined counter More... | |
u32 | vlib_combined_counter_n_counters (const vlib_combined_counter_main_t *cm) |
The number of counters (not the number of per-thread counters) More... | |
u32 | vlib_simple_counter_n_counters (const vlib_simple_counter_main_t *cm) |
The number of counters (not the number of per-thread counters) More... | |
void vlib_clear_combined_counters | ( | vlib_combined_counter_main_t * | cm | ) |
Clear a collection of combined counters.
cm | - (vlib_combined_counter_main_t *) collection to clear |
Definition at line 61 of file counter.c.
void vlib_clear_simple_counters | ( | vlib_simple_counter_main_t * | cm | ) |
Clear a collection of simple counters.
cm | - (vlib_simple_counter_main_t *) collection to clear |
Definition at line 44 of file counter.c.
u32 vlib_combined_counter_n_counters | ( | const vlib_combined_counter_main_t * | cm | ) |
u32 vlib_simple_counter_n_counters | ( | const vlib_simple_counter_main_t * | cm | ) |
void vlib_validate_combined_counter | ( | vlib_combined_counter_main_t * | cm, |
u32 | index | ||
) |
validate a combined counter
cm | - (vlib_combined_counter_main_t *) pointer to the counter collection |
index | - (u32) index of the counter to validate |
Definition at line 94 of file counter.c.
void vlib_validate_simple_counter | ( | vlib_simple_counter_main_t * | cm, |
u32 | index | ||
) |
validate a simple counter
cm | - (vlib_simple_counter_main_t *) pointer to the counter collection |
index | - (u32) index of the counter to validate |
Definition at line 79 of file counter.c.