29 declareProperty(
"StartFromEventN", m_nStartFromEvent = 1,
30 "After what event we start profiling. "
33 declareProperty(
"StopAtEventN", m_nStopAtEvent = 0,
34 "After what event we stop profiling. "
35 "If 0 than we also profile finalization stage. Default = 0."
38 declareProperty(
"DumpAtEventN", m_nDumpAtEvent = 0,
39 "After what event we stop profiling. "
40 "If 0 than we also profile finalization stage. Default = 0."
43 declareProperty(
"ZeroAtEventN", m_nZeroAtEvent = 0,
44 "After what event we stop profiling. "
45 "If 0 than we also profile finalization stage. Default = 0."
47 declareProperty(
"DumpName", m_dumpName =
"",
48 "Label for the callgrind dump "
90 warning() <<
"Starting Callgrind profile at event "
97 warning() <<
"Setting Callgrind counters to zero at event "
105 warning() <<
"Stopping Callgrind profile at event "
112 warning() <<
"Dumping Callgrind counters to zero at event "
MsgStream & warning() const
shortcut for the method msgStream ( MSG::WARNING )
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
#define CALLGRIND_START_INSTRUMENTATION
virtual StatusCode initialize()
Algorithm initialization.
virtual StatusCode initialize()
standard initialization method
#define CALLGRIND_ZERO_STATS
bool isFailure() const
Test for a status code of FAILURE.
MSG::Level msgLevel() const
The current message service output level.
virtual StatusCode execute()
Algorithm execution.
virtual StatusCode finalize()
standard finalization method
virtual ~CallgrindProfile()
Destructor.
This class is used for returning status codes from appropriate routines.
#define DECLARE_ALGORITHM_FACTORY(x)
The useful base class for data processing algorithms.
MsgStream & debug() const
shortcut for the method msgStream ( MSG::DEBUG )
#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.
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.