FD.io VPP
v20.09-64-g4f7b92f0a
Vector Packet Processing
|
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 856 of file stat_segment.c.
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 822 of file stat_segment.c.
stat_segment_main_t stat_segment_main |
Definition at line 27 of file stat_segment.c.