ATLAS Offline Software
Loading...
Searching...
No Matches
CommonStructures.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef TRIGINDETCUDA_COMMON_H
5#define TRIGINDETCUDA_COMMON_H
6
7#include <tbb/tick_count.h>
8#include <memory>
9
11
17
18
20public:
21 WorkTimeStamp(unsigned int id, int ev, const tbb::tick_count& t) :
22 m_workId(id), m_eventType(ev), m_time(t) {};
24 unsigned int m_workId;
26 tbb::tick_count m_time;
27};
28
29
31public:
34 void clear();
35 size_t size() const;
36 WorkTimeStamp& operator[]( size_t ndx );
37 void push_back( const WorkTimeStamp& ts );
38
39
40private:
41 std::unique_ptr<WorkTimeStampQueueImpl> m_impl;
42};
43
44#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