1 #ifndef JEMALLOC_JEMALLOCPROFILESVC_H 2 #define JEMALLOC_JEMALLOCPROFILESVC_H 1 23 using extends::extends;
44 this,
"StartFromIncidents", {},
"Incidents that trigger profiling start"};
46 this,
"StopAtEventN", 0,
47 "After what event we stop profiling. If 0 than we also profile finalization stage. Default = 0."};
49 this,
"StopAtIncidents", {},
"Incidents that trigger profiling start"};
64 #endif // JEMALLOC_JEMALLOCPROFILESVC_H
void startProfiling()
Utility method to start profiling with jemalloc.
Implementation of property with value of concrete type.
StatusCode finalize() override
Finalizer.
Gaudi::Property< int > m_dumpPeriod
Service that enables the Jemalloc profiler on demand.
void handle(const Incident &incident) override
int m_eventNumber
Current event number.
StatusCode initialize() override
Initializer.
This class is used for returning status codes from appropriate routines.
Gaudi::Property< int > m_nStopAtEvent
void stopProfiling()
Utility method to stop profiling with jemalloc.
Gaudi::Property< int > m_nStartFromEvent
Gaudi::Property< std::vector< std::string > > m_stopAtIncidents
Base class used to extend a class implementing other interfaces.
Base class for all Incidents (computing events).
void dumpProfile()
Utility method to dump profile with jemalloc.
SmartIF< IIncidentSvc > m_incidentSvc
Pointer to the incident service.
Gaudi::Property< std::vector< std::string > > m_startFromIncidents
bool m_profiling
Status of the profiling.