|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #ifndef EVENT_LOOP__ALGORITHM_MEMORY_WRAPPER_H
10 #define EVENT_LOOP__ALGORITHM_MEMORY_WRAPPER_H
69 virtual std::string_view
getName ()
const override;
71 virtual bool hasName (
const std::string&
name)
const override;
73 virtual std::unique_ptr<IAlgorithmWrapper>
makeClone()
const override;
virtual StatusCode execute() override
call execute on the algorithm
virtual Algorithm * getLegacyAlg() override
get the legacy algorithm, if we wrap one
std::vector< Long_t > m_mem_resident
the Memory Consumption for different calls
virtual bool hasName(const std::string &name) const override
whether this algorithm has the given name
StatusCode recordPreMemory()
virtual StatusCode postExecute() override
call postExecute on the algorithm
std::vector< Long_t > m_mem_virtual
virtual std::string_view getName() const override
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual StatusCode beginInputFile() override
call beginInputFile on the algorithm
This module defines the arguments passed from the BATCH driver to the BATCH worker.
virtual StatusCode fileExecute() override
call fileExecute on the algorithm
virtual std::unique_ptr< IAlgorithmWrapper > makeClone() const override
make a clone of this algorithm
StatusCode recordPostMemory()
all the external components an algorithm needs before initialization (in EventLoop)
AlgorithmMemoryWrapper()
standard default constructor for serialization
std::chrono::high_resolution_clock clock_type
the clock we use for our Memory
a wrapper around a generic algorithm for use within EventLoop
virtual StatusCode initialize(const AlgorithmWorkerData &workerData) override
call initialize on the algorithm
std::unique_ptr< IAlgorithmWrapper > m_algorithm
the actual algorithm
void testInvariant() const
test the invariant of this object
virtual StatusCode endInputFile() override
call endInputFile on the algorithm
virtual StatusCode finalize() override
call finalize on the algorithm
an IAlgorithmWrapper that adds a memory monitor to an algorithm