ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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::startCPUProfiling
virtual StatusCode startCPUProfiling(const std::string &filename="gpt.profile")=0
Start GPT profiling.
GPT::IProfilerSvc::stopCPUProfiling
virtual StatusCode stopCPUProfiling()=0
Stop the GPT profiling.
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?
GPT
Definition
IProfilerSvc.h:16
Generated on
for ATLAS Offline Software by
1.17.0