Go to the source code of this file.
|
| clib_callback_data_typedef (vlib_node_runtime_perf_callback_set_t, vlib_node_runtime_perf_callback_data_t) |
|
void | vlib_worker_loop (vlib_main_t *vm) |
|
static f64 | vlib_time_now (vlib_main_t *vm) |
|
static f64 | vlib_time_now_ticks (vlib_main_t *vm, u64 n) |
|
static void | vlib_time_wait (vlib_main_t *vm, f64 wait) |
|
static void | vlib_panic_with_error (vlib_main_t *vm, clib_error_t *error) |
|
static void | vlib_panic (vlib_main_t *vm) |
|
static f64 | vlib_internal_node_vector_rate (vlib_main_t *vm) |
|
static void | vlib_clear_internal_node_vector_rate (vlib_main_t *vm) |
|
static void | vlib_increment_main_loop_counter (vlib_main_t *vm) |
|
static u32 | vlib_last_vectors_per_main_loop (vlib_main_t *vm) |
|
static void | vlib_node_runtime_perf_counter (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, uword n, u64 t, vlib_node_runtime_perf_call_type_t call_type) |
|
static void | vlib_set_queue_signal_callback (vlib_main_t *vm, void(*fp)(vlib_main_t *)) |
|
int | vlib_main (vlib_main_t *vm, unformat_input_t *input) |
|
u32 | vlib_app_num_thread_stacks_needed (void) |
|
void | vlib_node_sync_stats (vlib_main_t *vm, vlib_node_t *n) |
|
int | vlib_pcap_dispatch_trace_configure (vlib_pcap_dispatch_trace_args_t *) |
|
◆ VLIB_ELOG_MAIN_LOOP
#define VLIB_ELOG_MAIN_LOOP 0 |
◆ VLIB_LOG2_MAIN_LOOPS_PER_STATS_UPDATE
#define VLIB_LOG2_MAIN_LOOPS_PER_STATS_UPDATE 7 |
◆ VLIB_MAIN_LOOP_EXIT_CLI
#define VLIB_MAIN_LOOP_EXIT_CLI 2 |
◆ VLIB_MAIN_LOOP_EXIT_NONE
#define VLIB_MAIN_LOOP_EXIT_NONE 0 |
◆ VLIB_MAIN_LOOP_EXIT_PANIC
#define VLIB_MAIN_LOOP_EXIT_PANIC 1 |
◆ vlib_panic_with_msg
◆ VLIB_PCAP_MAJOR_VERSION
#define VLIB_PCAP_MAJOR_VERSION 1 |
◆ VLIB_PCAP_MINOR_VERSION
#define VLIB_PCAP_MINOR_VERSION 0 |
◆ vlib_time_code
#define vlib_time_code |
( |
|
vm, |
|
|
|
body |
|
) |
| |
Value:do { \
f64 _t[2]; \
do { body; } while (0); \
clib_warning ("%.7e", _t[1] - _t[0]); \
} while (0)
static f64 vlib_time_now(vlib_main_t *vm)
Definition at line 362 of file main.h.
◆ vlib_wait_with_timeout
#define vlib_wait_with_timeout |
( |
|
vm, |
|
|
|
suspend_time, |
|
|
|
timeout_time, |
|
|
|
test |
|
) |
| |
Value:({ \
uword __vlib_wait_with_timeout = 0; \
f64 __vlib_wait_time = 0; \
while (! (__vlib_wait_with_timeout = (test)) \
&& __vlib_wait_time < (timeout_time)) \
{ \
vlib_process_suspend (
vm, suspend_time); \
__vlib_wait_time += suspend_time; \
} \
__vlib_wait_with_timeout; \
})
Definition at line 371 of file main.h.
◆ vlib_main_t
◆ vlib_node_runtime_perf_callback_data_t
◆ vlib_node_runtime_perf_callback_fp_t
◆ vlib_node_runtime_perf_call_type_t
Enumerator |
---|
VLIB_NODE_RUNTIME_PERF_BEFORE | |
VLIB_NODE_RUNTIME_PERF_AFTER | |
VLIB_NODE_RUNTIME_PERF_RESET | |
Definition at line 84 of file main.h.
◆ clib_callback_data_typedef()
◆ vlib_app_num_thread_stacks_needed()
u32 vlib_app_num_thread_stacks_needed |
( |
void |
| ) |
|
◆ vlib_clear_internal_node_vector_rate()
static void vlib_clear_internal_node_vector_rate |
( |
vlib_main_t * |
vm | ) |
|
|
inlinestatic |
◆ vlib_increment_main_loop_counter()
static void vlib_increment_main_loop_counter |
( |
vlib_main_t * |
vm | ) |
|
|
inlinestatic |
◆ vlib_internal_node_vector_rate()
◆ vlib_last_vectors_per_main_loop()
◆ vlib_main()
◆ vlib_node_runtime_perf_counter()
◆ vlib_node_sync_stats()
◆ vlib_panic()
◆ vlib_panic_with_error()
◆ vlib_pcap_dispatch_trace_configure()
◆ vlib_set_queue_signal_callback()
◆ vlib_time_now()
◆ vlib_time_now_ticks()
◆ vlib_time_wait()
◆ vlib_worker_loop()
◆ vlib_global_main
◆ vlib_thread_stacks