FD.io VPP
v21.06-3-gbb25fbf28
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_node_counter_name |
#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) |
void | stat_segment_poll_add (u32 vector_index, stat_segment_update_fn update_fn, u32 caller_index, u32 interval) |
u32 | stat_segment_new_entry (u8 *name, stat_directory_type_t t) |
void | vlib_stats_register_mem_heap (clib_mem_heap_t *heap) |
void | vlib_stat_segment_lock (void) |
void | vlib_stat_segment_unlock (void) |
void | vlib_stats_register_symlink (void *oldheap, u8 *name, u32 index1, u32 index2, u8 lock) |
void | stat_provider_register_vector_rate (u32 num_workers) |
Variables | |
stat_segment_main_t | stat_segment_main |
#define foreach_stat_segment_counter_name |
Definition at line 46 of file stat_segment.h.
#define foreach_stat_segment_node_counter_name |
#define STAT_SEGMENT_DEFAULT_SIZE (32<<20) |
Definition at line 58 of file stat_segment.h.
#define STAT_SEGMENT_INDEX_INVALID UINT32_MAX |
Definition at line 63 of file stat_segment.h.
#define STAT_SEGMENT_VERSION 2 |
Definition at line 61 of file stat_segment.h.
typedef void(* stat_segment_update_fn) (stat_segment_directory_entry_t *e, u32 i) |
Definition at line 65 of file stat_segment.h.
Definition at line 23 of file stat_segment.h.
void stat_provider_register_vector_rate | ( | u32 | num_workers | ) |
Definition at line 173 of file stat_segment_provider.c.
clib_error_t* stat_segment_deregister_state_counter | ( | u32 | index | ) |
Definition at line 934 of file stat_segment.c.
u32 stat_segment_new_entry | ( | u8 * | name, |
stat_directory_type_t | t | ||
) |
Definition at line 393 of file stat_segment.c.
void stat_segment_poll_add | ( | u32 | vector_index, |
stat_segment_update_fn | update_fn, | ||
u32 | caller_index, | ||
u32 | interval | ||
) |
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 922 of file stat_segment.c.
void vlib_stat_segment_lock | ( | void | ) |
Definition at line 30 of file stat_segment.c.
void vlib_stat_segment_unlock | ( | void | ) |
Definition at line 38 of file stat_segment.c.
void vlib_stats_register_mem_heap | ( | clib_mem_heap_t * | heap | ) |
Definition at line 84 of file stat_segment_provider.c.
Definition at line 249 of file stat_segment.c.
stat_segment_main_t stat_segment_main |
Definition at line 24 of file stat_segment.c.