FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
perfmon_intel.h File Reference
+ Include dependency graph for perfmon_intel.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  perfmon_intel_pmc_event_t
 
struct  perfmon_intel_pmc_cpu_model_t
 
struct  perfmon_intel_pmc_registration_t
 

Macros

#define PERFMON_REGISTER_INTEL_PMC(m, e)
 

Functions

void perfmon_register_intel_pmc (perfmon_intel_pmc_cpu_model_t *m, int n_models, perfmon_intel_pmc_event_t *e, int n_events)
 

Macro Definition Documentation

◆ PERFMON_REGISTER_INTEL_PMC

#define PERFMON_REGISTER_INTEL_PMC (   m,
 
)
Value:
static void __clib_constructor \
perfmon_register_intel_pmc_constructor() \
{ \
perfmon_register_intel_pmc (m, ARRAY_LEN(m), e, ARRAY_LEN (e)); \
}

Definition at line 55 of file perfmon_intel.h.

Function Documentation

◆ perfmon_register_intel_pmc()

void perfmon_register_intel_pmc ( perfmon_intel_pmc_cpu_model_t m,
int  n_models,
perfmon_intel_pmc_event_t e,
int  n_events 
)

Definition at line 30 of file perfmon.c.

ARRAY_LEN
#define ARRAY_LEN(x)
Definition: clib.h:70