ROOT
master
Reference Guide
Loading...
Searching...
No Matches
runvector.cxx
Go to the documentation of this file.
1
#include "
runvector.h
"
2
3
std::vector<int>
global_vector
;
4
double
global_effect
= 0.;
5
6
static
const
int
N
= 100000000;
// 10^8
7
8
namespace
{
9
struct
Initializer {
10
Initializer() {
11
global_vector
.reserve(
N
);
12
for
(
int
i=0; i <
N
; ++i)
global_vector
.push_back(i);
13
}
14
} _init_global_vector;
15
}
global_vector
std::vector< int > global_vector
Definition
runvector.cxx:3
N
static const int N
Definition
runvector.cxx:6
global_effect
double global_effect
Definition
runvector.cxx:4
runvector.h
bindings
pyroot
cppyy
cppyy
bench
runvector.cxx
ROOT master - Reference Guide Generated on Tue Nov 5 2024 09:40:00 (GVA Time) using Doxygen 1.9.8