ATLAS Offline Software
|
Simple interface for the profiler service. More...
#include <IProfilerSvc.h>
Public Member Functions | |
DeclareInterfaceID (IProfilerSvc, 0, 1) | |
Interface ID definition. More... | |
virtual StatusCode | startCPUProfiling (const std::string &filename="gpt.profile")=0 |
Start GPT profiling. More... | |
virtual StatusCode | stopCPUProfiling ()=0 |
Stop the GPT profiling. More... | |
virtual bool | isCPUProfilingRunning () const =0 |
Is the GPT profiling running at the moment? More... | |
Simple interface for the profiler service.
In order to allow clients to interact directly with the profiler service, this interface is used. But for basic profiling the users don't actually have to use it.
Definition at line 27 of file IProfilerSvc.h.
GPT::IProfilerSvc::DeclareInterfaceID | ( | IProfilerSvc | , |
0 | , | ||
1 | |||
) |
Interface ID definition.
|
pure virtual |
Is the GPT profiling running at the moment?
This function can be used to ask the service whether CPU profiling is running at the moment.
true
if the profiling is running at the moment, false
otherwise
|
pure virtual |
|
pure virtual |
Stop the GPT profiling.
This function should be called to stop the CPU profiling.
StatusCode::SUCCESS
if the operation was successful, something else otherwise