Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
runvector.cxx
Go to the documentation of this file.
1#include "runvector.h"
2
3std::vector<int> global_vector;
4double global_effect = 0.;
5
6static const int N = 100000000; // 10^8
7
8namespace {
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}
std::vector< int > global_vector
Definition runvector.cxx:3
static const int N
Definition runvector.cxx:6
double global_effect
Definition runvector.cxx:4