The Gaudi Framework  master (37c0b60a)
PerfMonAuditor.cpp File Reference
#include <GaudiKernel/Auditor.h>
#include <GaudiKernel/HashMap.h>
#include <GaudiKernel/IIncidentListener.h>
#include <GaudiKernel/IIncidentSvc.h>
#include <GaudiKernel/IToolSvc.h>
#include <GaudiKernel/MsgStream.h>
#include <GaudiKernel/VectorMap.h>
#include <cstring>
#include <fstream>
#include <iostream>
#include <map>
#include <perfmon/pfmlib.h>
#include <perfmon/pfmlib_core.h>
#include <perfmon/pfmlib_intel_nhm.h>
#include <sstream>
#include <string>
#include <utility>
#include <vector>
#include <perfmon/perfmon.h>
#include <perfmon/perfmon_dfl_smpl.h>
#include <errno.h>
#include <fcntl.h>
#include <getopt.h>
#include <signal.h>
#include <stdarg.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/mman.h>
#include <sys/ptrace.h>
#include <sys/resource.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <time.h>
#include <unistd.h>
#include <zlib.h>
#include "IgHook_IgHookTrace.h"
#include <algorithm>
#include <cmath>
#include <list>
#include <stack>
#include <sys/stat.h>
#include <dlfcn.h>
Include dependency graph for PerfMonAuditor.cpp:

Go to the source code of this file.

Classes

class  PerfMonAuditor
 

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 BPL   ( sizeof( uint64_t ) << 3 )
 
#define LBPL   6
 
#define SYM_NAME_MAX_LENGTH   10000
 
#define MAX_OUTPUT_FILENAME_LENGTH   1024
 
#define MAX_EVENT_NAME_LENGTH   500
 
#define MAX_PREFIX_NAME_LENGTH   1024
 
#define FILENAME_MAX_LENGTH   1024
 
#define MAX_NUMBER_OF_PROGRAMMABLE_COUNTERS   4
 
#define cpuid(func, ax, bx, cx, dx)   __asm__ __volatile__( "cpuid" : "=a"( ax ), "=b"( bx ), "=c"( cx ), "=d"( dx ) : "a"( func ) );
 

Macro Definition Documentation

◆ BPL

#define BPL   ( sizeof( uint64_t ) << 3 )

Definition at line 73 of file PerfMonAuditor.cpp.

◆ cpuid

#define cpuid (   func,
  ax,
  bx,
  cx,
  dx 
)    __asm__ __volatile__( "cpuid" : "=a"( ax ), "=b"( bx ), "=c"( cx ), "=d"( dx ) : "a"( func ) );

Definition at line 84 of file PerfMonAuditor.cpp.

◆ FILENAME_MAX_LENGTH

#define FILENAME_MAX_LENGTH   1024

Definition at line 80 of file PerfMonAuditor.cpp.

◆ FMT_NAME

#define FMT_NAME   PFM_DFL_SMPL_NAME

Definition at line 72 of file PerfMonAuditor.cpp.

◆ LBPL

#define LBPL   6

Definition at line 74 of file PerfMonAuditor.cpp.

◆ MAX_EVENT_NAME_LENGTH

#define MAX_EVENT_NAME_LENGTH   500

Definition at line 78 of file PerfMonAuditor.cpp.

◆ MAX_EVT_NAME_LEN

#define MAX_EVT_NAME_LEN   256

Definition at line 69 of file PerfMonAuditor.cpp.

◆ MAX_NUMBER_OF_PROGRAMMABLE_COUNTERS

#define MAX_NUMBER_OF_PROGRAMMABLE_COUNTERS   4

Definition at line 82 of file PerfMonAuditor.cpp.

◆ MAX_OUTPUT_FILENAME_LENGTH

#define MAX_OUTPUT_FILENAME_LENGTH   1024

Definition at line 77 of file PerfMonAuditor.cpp.

◆ MAX_PREFIX_NAME_LENGTH

#define MAX_PREFIX_NAME_LENGTH   1024

Definition at line 79 of file PerfMonAuditor.cpp.

◆ NUM_PMCS

#define NUM_PMCS   PFMLIB_MAX_PMCS

Definition at line 70 of file PerfMonAuditor.cpp.

◆ NUM_PMDS

#define NUM_PMDS   PFMLIB_MAX_PMDS

Definition at line 71 of file PerfMonAuditor.cpp.

◆ SYM_NAME_MAX_LENGTH

#define SYM_NAME_MAX_LENGTH   10000

Definition at line 76 of file PerfMonAuditor.cpp.