ATLAS Offline Software
Classes | Macros | Typedefs
PerfMonSvc.cxx File Reference
#include "Python.h"
#include "patchlevel.h"
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/times.h>
#include <string.h>
#include <libgen.h>
#include <filesystem>
#include "Gaudi/Property.h"
#include "GaudiKernel/IIncidentSvc.h"
#include "GaudiKernel/Incident.h"
#include "GaudiKernel/IChronoStatSvc.h"
#include "GaudiKernel/GaudiException.h"
#include "GaudiKernel/IAlgManager.h"
#include "GaudiKernel/ServiceHandle.h"
#include "AthenaKernel/IDictLoaderSvc.h"
#include "GaudiKernel/IIoComponentMgr.h"
#include "CxxUtils/AthDsoCbk.h"
#include "CxxUtils/checker_macros.h"
#include "CxxUtils/read_athena_statm.h"
#include "RootUtils/PyAthenaGILStateEnsure.h"
#include "AIDA/IBaseHistogram.h"
#include "PerfMonSvc.h"
#include "PerfMonUtils.h"
#include "PerfMonAuditor.h"
#include "PerfMonEvent/DataModel.h"
#include "PerfMonEvent/MemStatsHooks.h"
#include "SemiDetHelper.h"
#include "CPyCppyy/PyException.h"
#include <fstream>
#include <sstream>
#include "GaudiKernel/Timing.h"

Go to the source code of this file.

Classes

struct  Units
 

Macros

#define PMON_COMP_FMT
 
#define PMON_IOCOMP_FMT
 
#define PMON_MSG_LVL_NOCHK(lvl, lvlname, x)   std::cout << "PerfMonSvc: " << lvlname " " << x << "\n"
 
#define PMON_MSG_LVL(lvl, lvlname, x)
 
#define PMON_VERBOSE(x)   PMON_MSG_LVL(MSG::VERBOSE, "VERBOSE", x)
 
#define PMON_DEBUG(x)   PMON_MSG_LVL(MSG::DEBUG, " DEBUG", x)
 
#define PMON_INFO(x)   PMON_MSG_LVL_NOCHK(MSG::INFO, " INFO", x)
 
#define PMON_WARNING(x)   PMON_MSG_LVL_NOCHK(MSG::WARNING, "WARNING", x)
 
#define PMON_ERROR(x)   PMON_MSG_LVL_NOCHK(MSG::ERROR, " ERROR", x)
 
#define PMON_FATAL(x)   PMON_MSG_LVL_NOCHK(MSG::FATAL, " FATAL", x)
 
#define PMON_ALWAYS(x)   PMON_MSG_LVL_NOCHK(MSG::ALWAYS, " ALWAYS", x)
 

Typedefs

typedef PerfMon::Tuple Tuple
 
typedef PerfMon::Tuple::CompStore_t CompStore_t
 
typedef PerfMon::Tuple::IoCompStore_t IoCompStore_t
 
typedef PerfMon::Tuple::CompTuple_t CompTuple_t
 
typedef PerfMon::Tuple::IoCompTuple_t IoCompTuple_t
 

Macro Definition Documentation

◆ PMON_ALWAYS

#define PMON_ALWAYS (   x)    PMON_MSG_LVL_NOCHK(MSG::ALWAYS, " ALWAYS", x)

Definition at line 115 of file PerfMonSvc.cxx.

◆ PMON_COMP_FMT

#define PMON_COMP_FMT
Value:
/* comp-id: /step/comp-name */ \
"/%s/%s " \
/* step-index (0 or 1) */ \
"%lu " \
/* cpu: user sys real rt_cpu */ \
"%8.3f %8.3f %8.3f %8.3f " \
/* mem: vmem rss mall nmall nfree*/ \
"%8.3f %8.3f %8.3f %lu %lu\n"

Definition at line 72 of file PerfMonSvc.cxx.

◆ PMON_DEBUG

#define PMON_DEBUG (   x)    PMON_MSG_LVL(MSG::DEBUG, " DEBUG", x)

Definition at line 110 of file PerfMonSvc.cxx.

◆ PMON_ERROR

#define PMON_ERROR (   x)    PMON_MSG_LVL_NOCHK(MSG::ERROR, " ERROR", x)

Definition at line 113 of file PerfMonSvc.cxx.

◆ PMON_FATAL

#define PMON_FATAL (   x)    PMON_MSG_LVL_NOCHK(MSG::FATAL, " FATAL", x)

Definition at line 114 of file PerfMonSvc.cxx.

◆ PMON_INFO

#define PMON_INFO (   x)    PMON_MSG_LVL_NOCHK(MSG::INFO, " INFO", x)

Definition at line 111 of file PerfMonSvc.cxx.

◆ PMON_IOCOMP_FMT

#define PMON_IOCOMP_FMT
Value:
/* comp-id: /step/comp-name */ \
"/%s/%s " \
/* cpu-r: user sys real rt_cpu */ \
"%8.3f %8.3f %8.3f %8.3f " \
/* cpu-rr: user sys real rt_cpu */ \
"%8.3f %8.3f %8.3f %8.3f " \
/* cpu-w: user sys real rt_cpu */ \
"%8.3f %8.3f %8.3f %8.3f\n"

Definition at line 82 of file PerfMonSvc.cxx.

◆ PMON_MSG_LVL

#define PMON_MSG_LVL (   lvl,
  lvlname,
  x 
)
Value:
do { \
if (this->msgLvl (lvl)) { \
PMON_MSG_LVL_NOCHK(lvl, lvlname, x); \
} \
} while (0)

Definition at line 102 of file PerfMonSvc.cxx.

◆ PMON_MSG_LVL_NOCHK

#define PMON_MSG_LVL_NOCHK (   lvl,
  lvlname,
  x 
)    std::cout << "PerfMonSvc: " << lvlname " " << x << "\n"

Definition at line 99 of file PerfMonSvc.cxx.

◆ PMON_VERBOSE

#define PMON_VERBOSE (   x)    PMON_MSG_LVL(MSG::VERBOSE, "VERBOSE", x)

Definition at line 109 of file PerfMonSvc.cxx.

◆ PMON_WARNING

#define PMON_WARNING (   x)    PMON_MSG_LVL_NOCHK(MSG::WARNING, "WARNING", x)

Definition at line 112 of file PerfMonSvc.cxx.

Typedef Documentation

◆ CompStore_t

Definition at line 92 of file PerfMonSvc.cxx.

◆ CompTuple_t

Definition at line 94 of file PerfMonSvc.cxx.

◆ IoCompStore_t

Definition at line 93 of file PerfMonSvc.cxx.

◆ IoCompTuple_t

Definition at line 95 of file PerfMonSvc.cxx.

◆ Tuple

Definition at line 91 of file PerfMonSvc.cxx.

x
#define x