|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #ifndef EVENT_LOOP__ALGORITHM_TIMER_WRAPPER_H
10 #define EVENT_LOOP__ALGORITHM_TIMER_WRAPPER_H
52 virtual std::string_view
getName ()
const override;
54 virtual bool hasName (
const std::string&
name)
const override;
56 virtual std::unique_ptr<IAlgorithmWrapper>
makeClone()
const override;
virtual bool hasName(const std::string &name) const override
whether this algorithm has the given name
void testInvariant() const
test the invariant of this object
virtual Algorithm * getLegacyAlg() override
get the legacy algorithm, if we wrap one
virtual StatusCode finalize() override
call finalize on the algorithm
virtual StatusCode initialize(const AlgorithmWorkerData &workerData) override
call initialize on the algorithm
std::unique_ptr< IAlgorithmWrapper > m_algorithm
the actual algorithm
virtual ::StatusCode endInputFile() override
call endInputFile on the algorithm
virtual std::string_view getName() const override
an IAlgorithmWrapper that adds a timer to an algorithm
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual StatusCode execute() override
call execute on the algorithm
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
clock_type::duration m_time_file
clock_type::duration m_time_global
the timers for different calls
AlgorithmTimerWrapper()
standard default constructor for serialization
all the external components an algorithm needs before initialization (in EventLoop)
virtual StatusCode postExecute() override
call postExecute on the algorithm
a wrapper around a generic algorithm for use within EventLoop
clock_type::duration m_time_event
virtual std::unique_ptr< IAlgorithmWrapper > makeClone() const override
make a clone of this algorithm
std::chrono::high_resolution_clock clock_type
the clock we use for our timer