ATLAS Offline Software
Loading...
Searching...
No Matches
CommonStructures.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5
6#include "CommonStructures.h"
7#include "tbb/concurrent_vector.h"
8
9
11{
12public:
13 tbb::concurrent_vector<WorkTimeStamp> m_timeLine;
14};
15
16
21
22
26
27
29{
30 m_impl->m_timeLine.clear();
31}
32
33
35{
36 return m_impl->m_timeLine.size();
37}
38
39
41{
42 return m_impl->m_timeLine[ndx];
43}
44
45
47{
48 m_impl->m_timeLine.push_back( ts );
49}
50
51
tbb::concurrent_vector< WorkTimeStamp > m_timeLine
WorkTimeStamp & operator[](size_t ndx)
void push_back(const WorkTimeStamp &ts)
std::unique_ptr< WorkTimeStampQueueImpl > m_impl
int ts
Definition globals.cxx:24
STL namespace.