9#ifndef EVENT_LOOP__MEMORY_MONITOR_MODULE_H
10#define EVENT_LOOP__MEMORY_MONITOR_MODULE_H
char data[hepevt_bytes_allocation_ATLAS]
a Module monitoring memory usage at various points during the job
std::optional< std::uint64_t > lastRSS
the last RSS value read
virtual StatusCode onInitialize(ModuleData &data) override
action just before algorithms are initialized
virtual StatusCode firstInitialize(ModuleData &data) override
action at the the very beginning of the worker job
virtual StatusCode onExecute(ModuleData &data) override
actions just before execute is called on algorithms
virtual StatusCode onFinalize(ModuleData &data) override
actions just before algorithms are finalized
virtual StatusCode postFirstEvent(ModuleData &data) override
action after processing first event
StatusCode printMemoryUsage(const std::string &location)
std::uint64_t m_executeNext
virtual StatusCode onWorkerEnd(ModuleData &data) override
action at the end of the worker job
std::uint64_t m_numExecute
std::uint64_t m_executeStep
std::uint64_t m_executeTarget
the base class for EventLoop instrumentation module
This module defines the arguments passed from the BATCH driver to the BATCH worker.
::StatusCode StatusCode
StatusCode definition for legacy code.
the data the EventLoop core classes are sharing with the Module implementation