5#ifndef TRIGCOSTANALYSIS_MONITORTHREADOCCUPANCY_H
6#define TRIGCOSTANALYSIS_MONITORTHREADOCCUPANCY_H 1
55 virtual std::unique_ptr<CounterBase>
newCounter(
const std::string& name)
override;
char data[hepevt_bytes_allocation_ATLAS]
Caches and propagates event data to be used by monitoring algorithms.
MonitorBase()=delete
Forbid default constructor.
MonitorThreadOccupancy()=delete
Forbid default constructor.
virtual ~MonitorThreadOccupancy()=default
Default destructor.
StatusCode postProcess(float weight)
Get the global start and stop timestamps over all threads and sync these to the individual threads.
MonitorThreadOccupancy(const MonitorThreadOccupancy &)=delete
Forbid copy.
virtual std::unique_ptr< CounterBase > newCounter(const std::string &name) override
Concrete counter instantiation.
std::unordered_map< uint32_t, std::string > m_threadToCounterMap
Map thread's hash ID to a counting numeral embedded in a string.
MonitorThreadOccupancy & operator=(const MonitorThreadOccupancy &)=delete
Forbid assignment.
virtual StatusCode newEvent(const CostData &data, const float weight=1.) override
Concrete dispatch method.
size_t m_threadCounter
Count how many unique thread ID we have seen.
Container which represents a time range and holds a collection of Monitors which monitor this range.