ATLAS Offline Software
Control
PerformanceMonitoring
PerfMonGPerfTools
PerfMonGPerfTools
IProfilerSvc.h
Go to the documentation of this file.
1
// Dear emacs, this is -*- c++ -*-
2
3
/*
4
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
#ifndef PERFMONGPERFTOOLS_IPROFILERSVC_H
8
#define PERFMONGPERFTOOLS_IPROFILERSVC_H
9
10
// STL include(s):
11
#include <string>
12
13
// Gaudi/Athena include(s):
14
#include "GaudiKernel/IService.h"
15
16
namespace
GPT
{
17
27
class
IProfilerSvc
:
public
virtual
IService {
28
29
public
:
31
DeclareInterfaceID
(
IProfilerSvc
, 0, 1);
32
34
42
virtual
StatusCode
startCPUProfiling
(
const
std::string&
filename
=
"gpt.profile"
) = 0;
43
45
51
virtual
StatusCode
stopCPUProfiling
() = 0;
52
54
61
virtual
bool
isCPUProfilingRunning
()
const
= 0;
62
63
};
// class IProfilerSvc
64
65
}
// namespace GPT
66
67
#endif // PERFMONGPERFTOOLS_IPROFILERSVC_H
GPT::IProfilerSvc
Simple interface for the profiler service.
Definition:
IProfilerSvc.h:27
GPT::IProfilerSvc::stopCPUProfiling
virtual StatusCode stopCPUProfiling()=0
Stop the GPT profiling.
GPT::IProfilerSvc::startCPUProfiling
virtual StatusCode startCPUProfiling(const std::string &filename="gpt.profile")=0
Start GPT profiling.
GPT
Definition:
IProfilerSvc.h:16
GPT::IProfilerSvc::DeclareInterfaceID
DeclareInterfaceID(IProfilerSvc, 0, 1)
Interface ID definition.
GPT::IProfilerSvc::isCPUProfilingRunning
virtual bool isCPUProfilingRunning() const =0
Is the GPT profiling running at the moment?
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CaloCellTimeCorrFiller.filename
filename
Definition:
CaloCellTimeCorrFiller.py:24
Generated on Sun Dec 22 2024 21:11:58 for ATLAS Offline Software by
1.8.18