FD.io VPP  v18.07-rc0-415-g6c78436
Vector Packet Processing
counter.c File Reference
+ Include dependency graph for counter.c:

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_stats_push_heap (void)
 
void vlib_stats_pop_heap (void *, void *)
 
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 serialize_vlib_simple_counter_main (serialize_main_t *m, va_list *va)
 
void unserialize_vlib_simple_counter_main (serialize_main_t *m, va_list *va)
 
void serialize_vlib_combined_counter_main (serialize_main_t *m, va_list *va)
 
void unserialize_vlib_combined_counter_main (serialize_main_t *m, va_list *va)
 

Function Documentation

void serialize_vlib_combined_counter_main ( serialize_main_t m,
va_list *  va 
)

Definition at line 146 of file counter.c.

void serialize_vlib_simple_counter_main ( serialize_main_t m,
va_list *  va 
)

Definition at line 134 of file counter.c.

void unserialize_vlib_combined_counter_main ( serialize_main_t m,
va_list *  va 
)

Definition at line 152 of file counter.c.

void unserialize_vlib_simple_counter_main ( serialize_main_t m,
va_list *  va 
)

Definition at line 140 of file counter.c.

void vlib_clear_combined_counters ( vlib_combined_counter_main_t cm)

Clear a collection of combined counters.

Parameters
cm- (vlib_combined_counter_main_t *) collection to clear

Definition at line 60 of file counter.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void vlib_clear_simple_counters ( vlib_simple_counter_main_t cm)

Clear a collection of simple counters.

Parameters
cm- (vlib_simple_counter_main_t *) collection to clear

Definition at line 43 of file counter.c.

+ Here is the caller graph for this function:

u32 vlib_combined_counter_n_counters ( const vlib_combined_counter_main_t cm)

The number of counters (not the number of per-thread counters)

Definition at line 120 of file counter.c.

+ Here is the caller graph for this function:

u32 vlib_simple_counter_n_counters ( const vlib_simple_counter_main_t cm)

The number of counters (not the number of per-thread counters)

Definition at line 127 of file counter.c.

+ Here is the caller graph for this function:

void vlib_stats_pop_heap ( void *  notused,
void *  notused2 
)

Definition at line 86 of file counter.c.

+ Here is the caller graph for this function:

void * vlib_stats_push_heap ( void  )

Definition at line 79 of file counter.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void vlib_validate_combined_counter ( vlib_combined_counter_main_t cm,
u32  index 
)

validate a combined counter

Parameters
cm- (vlib_combined_counter_main_t *) pointer to the counter collection
index- (u32) index of the counter to validate

Definition at line 106 of file counter.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void vlib_validate_simple_counter ( vlib_simple_counter_main_t cm,
u32  index 
)

validate a simple counter

Parameters
cm- (vlib_simple_counter_main_t *) pointer to the counter collection
index- (u32) index of the counter to validate

Definition at line 92 of file counter.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: