FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
stat_segment_provider.c File Reference
+ Include dependency graph for stat_segment_provider.c:

Go to the source code of this file.

Enumerations

enum  {
  STAT_MEM_TOTAL = 0, STAT_MEM_USED, STAT_MEM_FREE, STAT_MEM_USED_MMAP,
  STAT_MEM_TOTAL_ALLOC, STAT_MEM_FREE_CHUNKS, STAT_MEM_RELEASABLE
}
 

Functions

static void stat_provider_mem_usage_update_fn (stat_segment_directory_entry_t *e, u32 index)
 
static counter_t ** stat_validate_counter_vector3 (counter_t **counters, u32 max1, u32 max2)
 
void vlib_stats_register_mem_heap (clib_mem_heap_t *heap)
 
static void stat_provider_vector_rate_per_thread_update_fn (stat_segment_directory_entry_t *e, u32 index)
 
static void stat_provider_vector_rate_update_fn (stat_segment_directory_entry_t *e, u32 index)
 
void stat_provider_register_vector_rate (u32 num_workers)
 

Variables

clib_mem_heap_t ** memory_heaps_vec
 
u32 mem_vector_index
 
bool initialized = false
 
enum { ... }  stat_mem_usage_e
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
STAT_MEM_TOTAL 
STAT_MEM_USED 
STAT_MEM_FREE 
STAT_MEM_USED_MMAP 
STAT_MEM_TOTAL_ALLOC 
STAT_MEM_FREE_CHUNKS 
STAT_MEM_RELEASABLE 

Definition at line 31 of file stat_segment_provider.c.

Function Documentation

◆ stat_provider_mem_usage_update_fn()

static void stat_provider_mem_usage_update_fn ( stat_segment_directory_entry_t e,
u32  index 
)
static

Definition at line 46 of file stat_segment_provider.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ stat_provider_register_vector_rate()

void stat_provider_register_vector_rate ( u32  num_workers)

Definition at line 173 of file stat_segment_provider.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ stat_provider_vector_rate_per_thread_update_fn()

static void stat_provider_vector_rate_per_thread_update_fn ( stat_segment_directory_entry_t e,
u32  index 
)
static

Definition at line 124 of file stat_segment_provider.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ stat_provider_vector_rate_update_fn()

static void stat_provider_vector_rate_update_fn ( stat_segment_directory_entry_t e,
u32  index 
)
static

Definition at line 148 of file stat_segment_provider.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ stat_validate_counter_vector3()

static counter_t** stat_validate_counter_vector3 ( counter_t **  counters,
u32  max1,
u32  max2 
)
static

Definition at line 67 of file stat_segment_provider.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vlib_stats_register_mem_heap()

void vlib_stats_register_mem_heap ( clib_mem_heap_t heap)

Definition at line 84 of file stat_segment_provider.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ initialized

bool initialized = false

Definition at line 29 of file stat_segment_provider.c.

◆ mem_vector_index

u32 mem_vector_index

Definition at line 28 of file stat_segment_provider.c.

◆ memory_heaps_vec

clib_mem_heap_t** memory_heaps_vec

Definition at line 27 of file stat_segment_provider.c.

◆ stat_mem_usage_e

enum { ... } stat_mem_usage_e