FD.io VPP
v19.01.3-6-g70449b9b9
Vector Packet Processing
|
Go to the source code of this file.
Functions | |
static long | perf_event_open (struct perf_event_attr *hw_event, pid_t pid, int cpu, int group_fd, unsigned long flags) |
static u64 | read_current_perf_counter (vlib_main_t *vm) |
static void | clear_counters (perfmon_main_t *pm) |
static void | enable_current_event (perfmon_main_t *pm) |
static void | disable_event (perfmon_main_t *pm) |
static void | worker_thread_start_event (vlib_main_t *vm) |
static void | worker_thread_stop_event (vlib_main_t *vm) |
static void | start_event (perfmon_main_t *pm, f64 now, uword event_data) |
void | scrape_and_clear_counters (perfmon_main_t *pm) |
static void | handle_timeout (perfmon_main_t *pm, f64 now) |
static uword | perfmon_periodic_process (vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f) |
Variables | |
vlib_node_registration_t | perfmon_periodic_node |
(constructor) VLIB_REGISTER_NODE (perfmon_periodic_node) More... | |
|
static |
Definition at line 54 of file perfmon_periodic.c.
|
static |
Definition at line 166 of file perfmon_periodic.c.
|
static |
Definition at line 93 of file perfmon_periodic.c.
|
static |
Definition at line 339 of file perfmon_periodic.c.
|
static |
|
static |
|
static |
Definition at line 35 of file perfmon_periodic.c.
void scrape_and_clear_counters | ( | perfmon_main_t * | pm | ) |
Definition at line 232 of file perfmon_periodic.c.
|
static |
Definition at line 206 of file perfmon_periodic.c.
|
static |
Definition at line 189 of file perfmon_periodic.c.
|
static |
Definition at line 198 of file perfmon_periodic.c.
vlib_node_registration_t perfmon_periodic_node |
(constructor) VLIB_REGISTER_NODE (perfmon_periodic_node)
Definition at line 419 of file perfmon_periodic.c.