Go to the documentation of this file.
11 #ifndef JEMALLOC_JEMALLOCPROFILESVC_H
12 #define JEMALLOC_JEMALLOCPROFILESVC_H 1
32 using extends::extends;
53 this,
"StartFromIncidents", {},
"Incidents that trigger profiling start" };
55 this,
"StopAtEventN", 0,
56 "After what event we stop profiling. If 0 than we also profile finalization stage. Default = 0." };
58 this,
"StopAtIncidents", {},
"Incidents that trigger profiling start" };
73 #endif // JEMALLOC_JEMALLOCPROFILESVC_H
SmartIF< IIncidentSvc > m_incidentSvc
Pointer to the incident service.
Gaudi::Property< int > m_nStartFromEvent
Gaudi::Property< int > m_nStopAtEvent
void handle(const Incident &incident) override
Gaudi::Property< std::vector< std::string > > m_stopAtIncidents
Base class used to extend a class implementing other interfaces.
void startProfiling()
Utility method to start profiling with jemalloc.
void dumpProfile()
Utility method to dump profile with jemalloc.
bool m_profiling
Status of the profiling.
void stopProfiling()
Utility method to stop profiling with jemalloc.
Gaudi::Property< int > m_dumpPeriod
StatusCode finalize() override
Finalizer.
int m_eventNumber
Current event number.
StatusCode initialize() override
Initializer.
Gaudi::Property< std::vector< std::string > > m_startFromIncidents