FD.io VPP
v21.06-3-gbb25fbf28
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 |
Enumerations | |
enum | topdown_lvl1_counters_t { TOPDOWN_E_METRIC_RETIRING = 0, TOPDOWN_E_METRIC_BAD_SPEC, TOPDOWN_E_METRIC_FE_BOUND, TOPDOWN_E_METRIC_BE_BOUND } |
enum | { TOPDOWN_SLOTS = 0, TOPDOWN_METRICS } |
Functions | |
static_always_inline f32 | topdown_lvl1_parse_row (perfmon_node_stats_t *ns, topdown_lvl1_counters_t e) |
static u8 * | format_topdown_lvl1 (u8 *s, va_list *args) |
PERFMON_REGISTER_BUNDLE (topdown_lvl1) | |
Variables | |
enum { ... } | topdown_lvl1_metrics_t |
#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.
anonymous enum |
Enumerator | |
---|---|
TOPDOWN_SLOTS | |
TOPDOWN_METRICS |
Definition at line 36 of file topdown_metrics.c.
Enumerator | |
---|---|
TOPDOWN_E_METRIC_RETIRING | |
TOPDOWN_E_METRIC_BAD_SPEC | |
TOPDOWN_E_METRIC_FE_BOUND | |
TOPDOWN_E_METRIC_BE_BOUND |
Definition at line 28 of file topdown_metrics.c.
PERFMON_REGISTER_BUNDLE | ( | topdown_lvl1 | ) |
static_always_inline f32 topdown_lvl1_parse_row | ( | perfmon_node_stats_t * | ns, |
topdown_lvl1_counters_t | e | ||
) |
enum { ... } topdown_lvl1_metrics_t |