FD.io VPP
v16.12-rc0-308-g931be3a
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | timer_callback_t |
Macros | |
#define | TIMER_SIGNAL SIGALRM |
Functions | |
static void | f64_to_tv (f64 t, struct timeval *tv) |
static int | timer_compare (const void *_a, const void *_b) |
static void | sort_timers (timer_callback_t *timers) |
static void | timer_interrupt (int signum) |
void | timer_block (sigset_t *save) |
void | timer_unblock (sigset_t *save) |
void | timer_call (timer_func_t *func, any arg, f64 dt) |
Variables | |
static timer_callback_t * | timers |
static f64 | time_resolution |
|
inlinestatic |
|
inlinestatic |
void timer_block | ( | sigset_t * | save | ) |
void timer_call | ( | timer_func_t * | func, |
any | arg, | ||
f64 | dt | ||
) |
|
static |
|
static |
void timer_unblock | ( | sigset_t * | save | ) |
|
static |