FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the source code of this file.
Macros | |
#define | GET_METRIC(m, i) (((m) >> (i * 8)) & 0xff) |
#define | GET_RATIO(m, i) (((m) >> (i * 32)) & 0xffffffff) |
#define | RDPMC_FIXED_SLOTS (1 << 30) /* fixed slots */ |
#define | RDPMC_L1_METRICS (1 << 29) /* l1 metric counters */ |
#define | FIXED_COUNTER_SLOTS 3 |
#define | METRIC_COUNTER_TOPDOWN_L1 0 |
Typedefs | |
typedef f64() | topdown_lvl1_parse_fn_t(void *, topdown_lvl1_t) |
Enumerations | |
enum | topdown_lvl1_t { TOPDOWN_E_RETIRING = 0, TOPDOWN_E_BAD_SPEC, TOPDOWN_E_FE_BOUND, TOPDOWN_E_BE_BOUND } |
enum | { TOPDOWN_E_RDPMC_SLOTS = 0, TOPDOWN_E_RDPMC_METRICS } |
Functions | |
static_always_inline f64 | topdown_lvl1_perf_reading (void *ps, topdown_lvl1_t e) |
static_always_inline f64 | topdown_lvl1_rdpmc_metric (void *ps, topdown_lvl1_t e) |
static u8 * | format_topdown_lvl1 (u8 *s, va_list *args) |
PERFMON_REGISTER_BUNDLE (topdown_lvl1_metric) | |
Variables | |
static perfmon_cpu_supports_t | topdown_lvl1_cpu_supports [] |
#define FIXED_COUNTER_SLOTS 3 |
Definition at line 25 of file topdown_metrics.c.
Definition at line 20 of file topdown_metrics.c.
Definition at line 21 of file topdown_metrics.c.
#define METRIC_COUNTER_TOPDOWN_L1 0 |
Definition at line 26 of file topdown_metrics.c.
#define RDPMC_FIXED_SLOTS (1 << 30) /* fixed slots */ |
Definition at line 22 of file topdown_metrics.c.
#define RDPMC_L1_METRICS (1 << 29) /* l1 metric counters */ |
Definition at line 23 of file topdown_metrics.c.
typedef f64() topdown_lvl1_parse_fn_t(void *, topdown_lvl1_t) |
Definition at line 42 of file topdown_metrics.c.
anonymous enum |
Enumerator | |
---|---|
TOPDOWN_E_RDPMC_SLOTS | |
TOPDOWN_E_RDPMC_METRICS |
Definition at line 36 of file topdown_metrics.c.
enum topdown_lvl1_t |
Enumerator | |
---|---|
TOPDOWN_E_RETIRING | |
TOPDOWN_E_BAD_SPEC | |
TOPDOWN_E_FE_BOUND | |
TOPDOWN_E_BE_BOUND |
Definition at line 28 of file topdown_metrics.c.
PERFMON_REGISTER_BUNDLE | ( | topdown_lvl1_metric | ) |
static_always_inline f64 topdown_lvl1_perf_reading | ( | void * | ps, |
topdown_lvl1_t | e | ||
) |
static_always_inline f64 topdown_lvl1_rdpmc_metric | ( | void * | ps, |
topdown_lvl1_t | e | ||
) |
|
static |
Definition at line 106 of file topdown_metrics.c.