The Gaudi Framework  v29r0 (ff2e7097)
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

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

Definition at line 20 of file PfmCodeAnalyser.h.

#define FMT_NAME   PFM_DFL_SMPL_NAME

Definition at line 18 of file PfmCodeAnalyser.h.

#define MAX_EVT_NAME_LEN   256

Definition at line 15 of file PfmCodeAnalyser.h.

#define MAX_NUMBER_OF_PROGRAMMABLE_COUNTERS   4

Definition at line 19 of file PfmCodeAnalyser.h.

#define NUM_PMCS   PFMLIB_MAX_PMCS

Definition at line 16 of file PfmCodeAnalyser.h.

#define NUM_PMDS   PFMLIB_MAX_PMDS

Definition at line 17 of file PfmCodeAnalyser.h.