![]() |
FD.io VPP
v21.01
Vector Packet Processing
|
Include dependency graph for stat_segment.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | stat_segment_gauges_pool_t |
| struct | stat_segment_main_t |
Macros | |
| #define | foreach_stat_segment_counter_name |
| #define | STAT_SEGMENT_DEFAULT_SIZE (32<<20) |
| #define | STAT_SEGMENT_VERSION 2 |
| #define | STAT_SEGMENT_INDEX_INVALID UINT32_MAX |
Typedefs | |
| typedef void(* | stat_segment_update_fn) (stat_segment_directory_entry_t *e, u32 i) |
Functions | |
| clib_error_t * | stat_segment_register_gauge (u8 *names, stat_segment_update_fn update_fn, u32 index) |
| clib_error_t * | stat_segment_register_state_counter (u8 *name, u32 *index) |
| clib_error_t * | stat_segment_deregister_state_counter (u32 index) |
| void | stat_segment_set_state_counter (u32 index, u64 value) |
Variables | |
| stat_segment_main_t | stat_segment_main |
| #define foreach_stat_segment_counter_name |
Definition at line 43 of file stat_segment.h.
| #define STAT_SEGMENT_DEFAULT_SIZE (32<<20) |
Definition at line 62 of file stat_segment.h.
| #define STAT_SEGMENT_INDEX_INVALID UINT32_MAX |
Definition at line 67 of file stat_segment.h.
| #define STAT_SEGMENT_VERSION 2 |
Definition at line 65 of file stat_segment.h.
| typedef void(* stat_segment_update_fn) (stat_segment_directory_entry_t *e, u32 i) |
Definition at line 69 of file stat_segment.h.
Definition at line 23 of file stat_segment.h.
| clib_error_t* stat_segment_deregister_state_counter | ( | u32 | index | ) |
Definition at line 860 of file stat_segment.c.
Here is the call graph for this function:
Here is the caller graph for this function:| clib_error_t* stat_segment_register_gauge | ( | u8 * | names, |
| stat_segment_update_fn | update_fn, | ||
| u32 | index | ||
| ) |
| clib_error_t* stat_segment_register_state_counter | ( | u8 * | name, |
| u32 * | index | ||
| ) |
Definition at line 826 of file stat_segment.c.
Here is the call graph for this function:
Here is the caller graph for this function:| stat_segment_main_t stat_segment_main |
Definition at line 26 of file stat_segment.c.