Go to the source code of this file.
#define COMBINED_COUNTER_BATCH_SIZE 63 |
#define f64_print |
( |
|
a, |
|
|
|
b |
|
) |
| |
#define foreach_stats_msg |
Value:_(WANT_STATS, want_stats) \
_(WANT_STATS_REPLY, want_stats_reply) \
_(VNET_INTERFACE_COUNTERS, vnet_interface_counters) \
_(VNET_IP4_FIB_COUNTERS, vnet_ip4_fib_counters) \
_(VNET_IP6_FIB_COUNTERS, vnet_ip6_fib_counters)
Definition at line 47 of file stats.c.
#define IP4_FIB_COUNTER_BATCH_SIZE 48 |
#define IP6_FIB_COUNTER_BATCH_SIZE 30 |
#define SIMPLE_COUNTER_BATCH_SIZE 126 |
#define STATS_RELEASE_DELAY_NS (1000 * 1000 * 5) |
#define vl_endianfun /* define message structures */ |
#define vl_typedefs /* define message structures */ |
static void add_routes_in_fib |
( |
BVT(clib_bihash_kv)* |
kvp, |
|
|
void * |
arg |
|
) |
| |
|
static |
static void do_combined_interface_counters |
( |
stats_main_t * |
sm | ) |
|
|
static |
static void do_simple_interface_counters |
( |
stats_main_t * |
sm | ) |
|
|
static |
void dslock |
( |
stats_main_t * |
sm, |
|
|
int |
release_hint, |
|
|
int |
tag |
|
) |
| |
void stats_dslock_with_hint |
( |
int |
hint, |
|
|
int |
tag |
|
) |
| |
void stats_dsunlock |
( |
int |
hint, |
|
|
int |
tag |
|
) |
| |
int stats_memclnt_delete_callback |
( |
u32 |
client_index | ) |
|
static void stats_thread_fn |
( |
void * |
arg | ) |
|
|
static |
VLIB_REGISTER_THREAD |
( |
stats_thread_reg |
, |
|
|
static |
|
|
) |
| |