 |
ATLAS Offline Software
|
Go to the documentation of this file.
16 #include "Gaudi/Property.h"
34 if ( !
bool(m_pointers) )
35 m_pointers =
new long* [4];
39 return StatusCode::SUCCESS;
47 return StatusCode::SUCCESS;
52 return StatusCode::SUCCESS;
59 const unsigned int maxSize = 256;
60 long **
array =
new long* [maxSize];
61 for (
unsigned int i=0;
i<maxSize; ++
i )
long * indirectlyLostFct(long **array)
this one's indirectly lost
long * stillReachableFct(long **array)
virtual StatusCode execute() override
long **ManyLeaksAlg::m_pointers ATLAS_THREAD_SAFE
long * possibleLostFct(long **array)
this one's possible lost
::StatusCode StatusCode
StatusCode definition for legacy code.
PerfMonTestPolyVectorAlg.h Example for the memory optimization tutorial.
void leakAll()
this one's definitely lost
Gaudi::Property< int > m_leakSize
Property to setup the size of the leak.
Gaudi::Property< bool > m_leakInInit
Property to setup the location of the leak, in initialize (true) or execute (false)
long * definitelyLostFct(long **array)
this one's definitely lost
virtual StatusCode initialize() override