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) |
|
void | vlib_exit_with_status (vlib_main_t *vm, int status) |
|
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 *)) |
|
static void | vlib_main_init () |
|
int | vlib_main (vlib_main_t *vm, unformat_input_t *input) |
|
u32 | vlib_app_num_thread_stacks_needed (void) |
|
void | vlib_add_del_post_mortem_callback (void *cb, int is_add) |
|
vlib_main_t * | vlib_get_main_not_inline (void) |
|
elog_main_t * | vlib_get_elog_main_not_inline () |
|
◆ 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_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)
Definition at line 356 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 365 of file main.h.
◆ vlib_global_main_t
◆ 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 66 of file main.h.
◆ clib_callback_data_typedef()
◆ vlib_add_del_post_mortem_callback()
void vlib_add_del_post_mortem_callback |
( |
void * |
cb, |
|
|
int |
is_add |
|
) |
| |
◆ 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_exit_with_status()
void vlib_exit_with_status |
( |
vlib_main_t * |
vm, |
|
|
int |
status |
|
) |
| |
◆ vlib_get_elog_main_not_inline()
◆ vlib_get_main_not_inline()
◆ 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_main_init()
static void vlib_main_init |
( |
| ) |
|
|
inlinestatic |
◆ vlib_node_runtime_perf_counter()
◆ vlib_panic()
◆ vlib_panic_with_error()
◆ vlib_set_queue_signal_callback()
◆ vlib_time_now()
◆ vlib_time_now_ticks()
◆ vlib_time_wait()
◆ vlib_worker_loop()
◆ vlib_global_main
◆ vlib_thread_stacks