Go to the source code of this file.
◆ 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 254 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 263 of file main.h.
◆ vlib_main_t
◆ vlib_app_num_thread_stacks_needed()
u32 vlib_app_num_thread_stacks_needed |
( |
void |
| ) |
|
◆ vlib_increment_main_loop_counter()
static void vlib_increment_main_loop_counter |
( |
vlib_main_t * |
vm | ) |
|
|
inlinestatic |
◆ vlib_last_vector_length_per_node()
◆ vlib_last_vectors_per_main_loop()
◆ vlib_last_vectors_per_main_loop_as_f64()
◆ vlib_main()
◆ vlib_node_sync_stats()
◆ vlib_panic()
◆ vlib_panic_with_error()
◆ vlib_set_queue_signal_callback()
◆ vlib_time_now()
◆ vlib_time_now_ticks()
◆ vlib_time_wait()
◆ vlib_vector_input_stats_index()
◆ vlib_worker_loop()
◆ vlib_global_main
◆ vlib_thread_stacks
◆ wraps