The Gaudi Framework  v36r7 (7f57a304)
PfmCodeAnalyser.h File Reference
#include <perfmon/perfmon.h>
#include <perfmon/perfmon_dfl_smpl.h>
#include <perfmon/pfmlib.h>
#include <perfmon/pfmlib_core.h>
#include <perfmon/pfmlib_intel_nhm.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <unistd.h>
Include dependency graph for PfmCodeAnalyser.h:

Go to the source code of this file.

Classes

class  PfmCodeAnalyser
 

Macros

#define MAX_EVT_NAME_LEN   256
 
#define NUM_PMCS   PFMLIB_MAX_PMCS
 
#define NUM_PMDS   PFMLIB_MAX_PMDS
 
#define FMT_NAME   PFM_DFL_SMPL_NAME
 
#define MAX_NUMBER_OF_PROGRAMMABLE_COUNTERS   4
 
#define cpuid(func, eax, ebx, ecx, edx)   __asm__ __volatile__( "cpuid" : "=a"( eax ), "=b"( ebx ), "=c"( ecx ), "=d"( edx ) : "a"( func ) );
 

Macro Definition Documentation

◆ cpuid

#define cpuid (   func,
  eax,
  ebx,
  ecx,
  edx 
)    __asm__ __volatile__( "cpuid" : "=a"( eax ), "=b"( ebx ), "=c"( ecx ), "=d"( edx ) : "a"( func ) );

Definition at line 31 of file PfmCodeAnalyser.h.

◆ FMT_NAME

#define FMT_NAME   PFM_DFL_SMPL_NAME

Definition at line 29 of file PfmCodeAnalyser.h.

◆ MAX_EVT_NAME_LEN

#define MAX_EVT_NAME_LEN   256

Definition at line 26 of file PfmCodeAnalyser.h.

◆ MAX_NUMBER_OF_PROGRAMMABLE_COUNTERS

#define MAX_NUMBER_OF_PROGRAMMABLE_COUNTERS   4

Definition at line 30 of file PfmCodeAnalyser.h.

◆ NUM_PMCS

#define NUM_PMCS   PFMLIB_MAX_PMCS

Definition at line 27 of file PfmCodeAnalyser.h.

◆ NUM_PMDS

#define NUM_PMDS   PFMLIB_MAX_PMDS

Definition at line 28 of file PfmCodeAnalyser.h.