ATLAS Offline Software
Loading...
Searching...
No Matches
CommonStructures.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef TRIGINDETCUDA_COMMON_H
5#define TRIGINDETCUDA_COMMON_H
11
12#include <tbb/tick_count.h>
13
15public:
16 WorkTimeStamp(unsigned int id, int ev, const tbb::tick_count& t) :
17 m_workId(id), m_eventType(ev), m_time(t) {};
19 unsigned int m_workId;
21 tbb::tick_count m_time;
22};
23
26{
27public:
30 void clear();
31 size_t size() const;
32 WorkTimeStamp& operator[]( size_t ndx );
33 void push_back( const WorkTimeStamp& ts );
34
35
36private:
37 std::unique_ptr<WorkTimeStampQueueImpl> m_impl;
38};
39
40#endif
struct gpuParameters GPU_PARAMETERS
WorkTimeStamp & operator[](size_t ndx)
void push_back(const WorkTimeStamp &ts)
std::unique_ptr< WorkTimeStampQueueImpl > m_impl
unsigned int m_workId
WorkTimeStamp(const WorkTimeStamp &w)
tbb::tick_count m_time
WorkTimeStamp(unsigned int id, int ev, const tbb::tick_count &t)
int ts
Definition globals.cxx:24
int ev
Definition globals.cxx:25