FD.io VPP  v20.01-48-g3e0dafb74
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)); \
}
#define ARRAY_LEN(x)
Definition: clib.h:62

Definition at line 51 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 31 of file perfmon.c.