| The Gaudi Framework v28r2p1 (f1a77ff4)

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

- File List
- File Members

Classes | Macros
PerfMonAuditor.cpp File Reference
`#include "GaudiKernel/Auditor.h"`
`#include "GaudiKernel/IToolSvc.h"`
`#include "GaudiKernel/IIncidentListener.h"`
`#include "GaudiKernel/IIncidentSvc.h"`
`#include "GaudiKernel/VectorMap.h"`
`#include "GaudiKernel/HashMap.h"`
`#include "GaudiKernel/MsgStream.h"`
`#include <iostream>`
`#include <string>`
`#include <cstring>`
`#include <fstream>`
`#include <perfmon/pfmlib.h>`
`#include <perfmon/pfmlib_core.h>`
`#include <perfmon/pfmlib_intel_nhm.h>`
`#include <vector>`
`#include <map>`
`#include <utility>`
`#include <sstream>`
`#include <perfmon/perfmon.h>`
`#include <perfmon/perfmon_dfl_smpl.h>`
`#include <sys/types.h>`
`#include <stdio.h>`
`#include <stdlib.h>`
`#include <stdarg.h>`
`#include <errno.h>`
`#include <unistd.h>`
`#include <string.h>`
`#include <signal.h>`
`#include <stdint.h>`
`#include <getopt.h>`
`#include <time.h>`
`#include <sys/ptrace.h>`
`#include <sys/wait.h>`
`#include <sys/mman.h>`
`#include <sys/time.h>`
`#include <sys/resource.h>`
`#include <fcntl.h>`
`#include <zlib.h>`
`#include <algorithm>`
`#include <list>`
`#include <stack>`
`#include <cmath>`
`#include <sys/stat.h>`
`#include "IgHook_IgHookTrace.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 68 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 79 of file PerfMonAuditor.cpp.

#define FILENAME_MAX_LENGTH 1024

Definition at line 75 of file PerfMonAuditor.cpp.

#define FMT_NAME PFM_DFL_SMPL_NAME

Definition at line 67 of file PerfMonAuditor.cpp.

#define LBPL 6

Definition at line 69 of file PerfMonAuditor.cpp.

#define MAX_EVENT_NAME_LENGTH 500

Definition at line 73 of file PerfMonAuditor.cpp.

#define MAX_EVT_NAME_LEN 256

Definition at line 64 of file PerfMonAuditor.cpp.

#define MAX_NUMBER_OF_PROGRAMMABLE_COUNTERS 4

Definition at line 77 of file PerfMonAuditor.cpp.

#define MAX_OUTPUT_FILENAME_LENGTH 1024

Definition at line 72 of file PerfMonAuditor.cpp.

#define MAX_PREFIX_NAME_LENGTH 1024

Definition at line 74 of file PerfMonAuditor.cpp.

#define NUM_PMCS PFMLIB_MAX_PMCS

Definition at line 65 of file PerfMonAuditor.cpp.

#define NUM_PMDS PFMLIB_MAX_PMDS

Definition at line 66 of file PerfMonAuditor.cpp.

#define SYM_NAME_MAX_LENGTH 10000

Definition at line 71 of file PerfMonAuditor.cpp.