26 declareProperty(
"StartFromEventN", m_nStartFromEvent = 1,
27 "After what event we start profiling. "
30 declareProperty(
"StopAtEventN", m_nStopAtEvent = 0,
31 "After what event we stop profiling. "
32 "If 0 than we also profile finalization stage. Default = 0."
35 declareProperty(
"DumpAtEventN", m_nDumpAtEvent = 0,
36 "After what event we stop profiling. "
37 "If 0 than we also profile finalization stage. Default = 0."
40 declareProperty(
"ZeroAtEventN", m_nZeroAtEvent = 0,
41 "After what event we stop profiling. "
42 "If 0 than we also profile finalization stage. Default = 0."
44 declareProperty(
"DumpName", m_dumpName =
"",
45 "Label for the callgrind dump "
87 warning() <<
"Starting Callgrind profile at event "
94 warning() <<
"Setting Callgrind counters to zero at event "
102 warning() <<
"Stopping Callgrind profile at event "
109 warning() <<
"Dumping Callgrind counters to zero at event "
#define DECLARE_ALGORITHM_FACTORY(x)
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
#define CALLGRIND_START_INSTRUMENTATION
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
StatusCode initialize() override
standard initialization method
virtual StatusCode initialize()
Algorithm initialization.
MsgStream & warning() const
shortcut for the method msgStream(MSG::WARNING)
#define CALLGRIND_ZERO_STATS
bool isFailure() const
Test for a status code of FAILURE.
virtual StatusCode execute()
Algorithm execution.
virtual ~CallgrindProfile()
Destructor.
MsgStream & debug() const
shortcut for the method msgStream(MSG::DEBUG)
This class is used for returning status codes from appropriate routines.
StatusCode finalize() override
standard finalization method
The useful base class for data processing algorithms.
#define CALLGRIND_DUMP_STATS
#define CALLGRIND_DUMP_STATS_AT(pos_str)
Algorithm to enable/disable the profiling by Callgrind at given events.
#define CALLGRIND_STOP_INSTRUMENTATION
virtual StatusCode finalize()
Algorithm finalization.
MSG::Level msgLevel() const
get the output level from the embedded MsgStream