The Gaudi Framework  master (37c0b60a)
pfmlib_amd64.h File Reference
#include <stdint.h>
Include dependency graph for pfmlib_amd64.h:

Go to the source code of this file.

Classes

union  pfm_amd64_sel_reg_t
 
union  pfm_amd64_ctr_reg_t
 
union  ibsfetchctl_t
 
union  ibsopctl_t
 
union  ibsopdata_t
 
union  ibsopdata2_t
 
union  ibsopdata3_t
 
struct  pfmlib_amd64_counter_t
 
struct  ibs_param_t
 
struct  pfmlib_amd64_input_param_t
 
struct  pfmlib_amd64_output_param_t
 

Macros

#define PMU_AMD64_MAX_COUNTERS   4 /* total numbers of performance counters */
 
#define PFM_AMD64_SEL_INV   0x1 /* inverse */
 
#define PFM_AMD64_SEL_EDGE   0x2 /* edge detect */
 
#define PFM_AMD64_SEL_GUEST   0x4 /* guest only */
 
#define PFM_AMD64_SEL_HOST   0x8 /* host only */
 
#define IBS_OPTIONS_RANDEN   1 /* enable randomization (IBS fetch only) */
 
#define IBS_OPTIONS_UOPS   1 /* count dispatched uops (IBS op only) */
 
#define PFMLIB_AMD64_USE_IBSFETCH   1
 
#define PFMLIB_AMD64_USE_IBSOP   2
 
#define PMD_IBSFETCHCTL   0
 
#define PMD_IBSFETCHLINAD   1
 
#define PMD_IBSFETCHPHYSAD   2
 
#define PMD_IBSOPCTL   0
 
#define PMD_IBSOPRIP   1
 
#define PMD_IBSOPDATA   2
 
#define PMD_IBSOPDATA2   3
 
#define PMD_IBSOPDATA3   4
 
#define PMD_IBSDCLINAD   5
 
#define PMD_IBSDCPHYSAD   6
 

Macro Definition Documentation

◆ IBS_OPTIONS_RANDEN

#define IBS_OPTIONS_RANDEN   1 /* enable randomization (IBS fetch only) */

Definition at line 193 of file pfmlib_amd64.h.

◆ IBS_OPTIONS_UOPS

#define IBS_OPTIONS_UOPS   1 /* count dispatched uops (IBS op only) */

Definition at line 194 of file pfmlib_amd64.h.

◆ PFM_AMD64_SEL_EDGE

#define PFM_AMD64_SEL_EDGE   0x2 /* edge detect */

Definition at line 175 of file pfmlib_amd64.h.

◆ PFM_AMD64_SEL_GUEST

#define PFM_AMD64_SEL_GUEST   0x4 /* guest only */

Definition at line 176 of file pfmlib_amd64.h.

◆ PFM_AMD64_SEL_HOST

#define PFM_AMD64_SEL_HOST   0x8 /* host only */

Definition at line 177 of file pfmlib_amd64.h.

◆ PFM_AMD64_SEL_INV

#define PFM_AMD64_SEL_INV   0x1 /* inverse */

Definition at line 174 of file pfmlib_amd64.h.

◆ PFMLIB_AMD64_USE_IBSFETCH

#define PFMLIB_AMD64_USE_IBSFETCH   1

Definition at line 206 of file pfmlib_amd64.h.

◆ PFMLIB_AMD64_USE_IBSOP

#define PFMLIB_AMD64_USE_IBSOP   2

Definition at line 207 of file pfmlib_amd64.h.

◆ PMD_IBSDCLINAD

#define PMD_IBSDCLINAD   5

Definition at line 231 of file pfmlib_amd64.h.

◆ PMD_IBSDCPHYSAD

#define PMD_IBSDCPHYSAD   6

Definition at line 232 of file pfmlib_amd64.h.

◆ PMD_IBSFETCHCTL

#define PMD_IBSFETCHCTL   0

Definition at line 223 of file pfmlib_amd64.h.

◆ PMD_IBSFETCHLINAD

#define PMD_IBSFETCHLINAD   1

Definition at line 224 of file pfmlib_amd64.h.

◆ PMD_IBSFETCHPHYSAD

#define PMD_IBSFETCHPHYSAD   2

Definition at line 225 of file pfmlib_amd64.h.

◆ PMD_IBSOPCTL

#define PMD_IBSOPCTL   0

Definition at line 226 of file pfmlib_amd64.h.

◆ PMD_IBSOPDATA

#define PMD_IBSOPDATA   2

Definition at line 228 of file pfmlib_amd64.h.

◆ PMD_IBSOPDATA2

#define PMD_IBSOPDATA2   3

Definition at line 229 of file pfmlib_amd64.h.

◆ PMD_IBSOPDATA3

#define PMD_IBSOPDATA3   4

Definition at line 230 of file pfmlib_amd64.h.

◆ PMD_IBSOPRIP

#define PMD_IBSOPRIP   1

Definition at line 227 of file pfmlib_amd64.h.

◆ PMU_AMD64_MAX_COUNTERS

#define PMU_AMD64_MAX_COUNTERS   4 /* total numbers of performance counters */

Definition at line 44 of file pfmlib_amd64.h.