| The Gaudi Framework v29r1 (5cd95fa2)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

Classes | Macros
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
| Performance Monitoring Auditor that uses Perfmon2 library to monitor algorithms. More...

## 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

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

Definition at line 62 of file PerfMonAuditor.cpp.

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

Definition at line 73 of file PerfMonAuditor.cpp.

#define FILENAME_MAX_LENGTH 1024

Definition at line 69 of file PerfMonAuditor.cpp.

#define FMT_NAME PFM_DFL_SMPL_NAME

Definition at line 61 of file PerfMonAuditor.cpp.

#define LBPL 6

Definition at line 63 of file PerfMonAuditor.cpp.

#define MAX_EVENT_NAME_LENGTH 500

Definition at line 67 of file PerfMonAuditor.cpp.

#define MAX_EVT_NAME_LEN 256

Definition at line 58 of file PerfMonAuditor.cpp.

#define MAX_NUMBER_OF_PROGRAMMABLE_COUNTERS 4

Definition at line 71 of file PerfMonAuditor.cpp.

#define MAX_OUTPUT_FILENAME_LENGTH 1024

Definition at line 66 of file PerfMonAuditor.cpp.

#define MAX_PREFIX_NAME_LENGTH 1024

Definition at line 68 of file PerfMonAuditor.cpp.

#define NUM_PMCS PFMLIB_MAX_PMCS

Definition at line 59 of file PerfMonAuditor.cpp.

#define NUM_PMDS PFMLIB_MAX_PMDS

Definition at line 60 of file PerfMonAuditor.cpp.

#define SYM_NAME_MAX_LENGTH 10000

Definition at line 65 of file PerfMonAuditor.cpp.