28 if ( m_eventNumber == m_nStartFromEvent ) {
30 warning() <<
"Starting Callgrind profile at event " << m_eventNumber <<
endmsg;
34 if ( m_eventNumber == m_nZeroAtEvent ) {
35 warning() <<
"Setting Callgrind counters to zero at event " << m_eventNumber <<
endmsg;
39 if ( m_eventNumber == m_nStopAtEvent ) {
41 warning() <<
"Stopping Callgrind profile at event " << m_eventNumber <<
endmsg;
45 if ( m_eventNumber == m_nDumpAtEvent ) {
46 warning() <<
"Dumping Callgrind counters to zero at event " << m_eventNumber <<
endmsg;
48 if ( m_dumpName ==
"" ) {
#define CALLGRIND_START_INSTRUMENTATION
StatusCode execute() override final
StatusCode finalize() override
the default (empty) implementation of IStateful::finalize() method
Gaudi::Property< std::string > m_dumpName
#define CALLGRIND_ZERO_STATS
#define DECLARE_COMPONENT(type)
This class is used for returning status codes from appropriate routines.
constexpr static const auto SUCCESS
#define CALLGRIND_DUMP_STATS
StatusCode finalize() override
Algorithm finalization.
MsgStream & debug() const
shortcut for the method msgStream(MSG::DEBUG)
Algorithm to enable/disable the profiling by Callgrind at given events.
#define CALLGRIND_STOP_INSTRUMENTATION
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
#define CALLGRIND_DUMP_STATS_AT(pos_str)
MSG::Level msgLevel() const
get the cached level (originally extracted from the embedded MsgStream)