ATLAS Offline Software
Loading...
Searching...
No Matches
Tools
PmbCxxUtils
src
CustomBenchmark.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
PmbCxxUtils/CustomBenchmark.h
"
6
7
namespace
PMonUtils
{
8
9
CustomBenchmark::CustomBenchmark
(
unsigned
nmax
)
10
:
m_nmax
(
nmax
),
11
m_data
(new
Data
[
nmax
]),
12
m_data_current
(0)
13
{
14
Data
* itE = &(
m_data
[
m_nmax
]);
15
for
(
Data
* it =
m_data
; it!=itE; ++it)
16
it->init();
17
}
18
19
CustomBenchmark::~CustomBenchmark
()
20
{
21
delete
[]
m_data
;
22
}
23
24
}
CustomBenchmark.h
nmax
const int nmax(200)
PMonUtils::CustomBenchmark::m_data_current
Data * m_data_current
Definition
CustomBenchmark.h:56
PMonUtils::CustomBenchmark::~CustomBenchmark
~CustomBenchmark()
Definition
CustomBenchmark.cxx:19
PMonUtils::CustomBenchmark::CustomBenchmark
CustomBenchmark(unsigned nmax)
Definition
CustomBenchmark.cxx:9
PMonUtils::CustomBenchmark::m_nmax
const unsigned m_nmax
Definition
CustomBenchmark.h:54
PMonUtils::CustomBenchmark::m_data
Data * m_data
Definition
CustomBenchmark.h:55
PMonUtils
Definition
SimKernel.h:33
PMonUtils::CustomBenchmark::Data
Definition
CustomBenchmark.h:46
Generated on
for ATLAS Offline Software by
1.14.0