ROOT
Version v6.30
master
v6.34
v6.32
v6.30
v6.28
v6.26
v6.24
v6.22
v6.20
v6.18
v6.16
v6.14
v6.12
v6.10
v6.08
v6.06
v6.04
Reference Guide
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
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 v6-30 - Reference Guide Generated on Thu Dec 12 2024 06:11:36 (GVA Time) using Doxygen 1.9.8