|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TRIGCOSTANALYSIS_COUNTERTHREAD_H
6 #define TRIGCOSTANALYSIS_COUNTERTHREAD_H 1
8 #include "../CounterBase.h"
81 #endif // TRIGCOSTANALYSIS_COUNTERTHREAD_H
char data[hepevt_bytes_allocation_ATLAS]
Concrete implimentation of Counter to monitor all algorithms executing on a single thread.
uint64_t m_lowTimestamp
Records the lowest timestamp seen on this single thread in an event.
StatusCode postProcess(float weight=1.0)
Apply post-processing to the Counter, before endEvent is called.
CounterThread(const CounterThread &)=delete
Forbid copy.
::StatusCode StatusCode
StatusCode definition for legacy code.
CounterThread & operator=(const CounterThread &)=delete
Forbid assignment.
uint64_t m_highTimestamp
Records the highest timestamp seen on this single thread in an event.
virtual ~CounterThread()=default
Default destructor.
uint64_t getLowTimestamp() const
Get the lowest timestamp of this single thread.
virtual StatusCode newEvent(const CostData &data, size_t index, const float weight=1.0) override
Concrete implementation.
uint64_t getHighTimestamp() const
Get the highest timestamp of this single thread.
CounterThread()=delete
Forbid default constructor.
uint64_t m_globalLowTimestamp
Records the lowest timestamp seen over all threads in an event.
uint64_t m_globalHighTimestamp
Records the highest timestamp seen over all threads in an event.
void setAllThreadsTimestamps(uint64_t low, uint64_t high)
Set the low and high timestamps over all threads.
Caches and propagates event data to be used by monitoring algorithms.