 |
ATLAS Offline Software
|
Go to the documentation of this file.
11 #ifndef PERFMONTESTS_PERFMONTESTLEAKYALG_H
12 #define PERFMONTESTS_PERFMONTESTLEAKYALG_H
22 #include "GaudiKernel/ServiceHandle.h"
49 Gaudi::Property<int>
m_leakSize{
this,
"LeakSize", 10,
"Size of 'Leak' objects to be leaked each event"};
56 Gaudi::Property<int>
m_nbrLeaks{
this,
"NbrLeaks", 1,
"Number of 'Leak' objects to be leaked each event"};
65 #endif //> PERFMONTESTS_PERFMONTESTLEAKYALG_H
Gaudi::Property< int > m_leakSize
Property to setup the size of the leak.
std::list< Leak * > m_leaks
container to hold the leaked objects
Gaudi::Property< int > m_nbrLeaks
nbr of Leak objects
virtual StatusCode initialize() override
::StatusCode StatusCode
StatusCode definition for legacy code.
PerfMonTestPolyVectorAlg.h Example for the memory optimization tutorial.
std::vector< int > m_data
virtual StatusCode execute() override
AthAlgorithm()
Default constructor:
virtual ~LeakyAlg()
Destructor: