Definition at line 10 of file Timer.cxx.
◆ timeit()
Definition at line 12 of file Timer.cxx.
12 {
13
14 auto t0 = high_resolution_clock::now();
15 int ndo = 1000000;
17 for (
int i = 0;
i != ndo; ++
i){
20 }
21 auto t1 = high_resolution_clock::now();
22 std::cout <<
i <<
'\n';
23 std::cout << duration_cast<milliseconds>(t1-
t0).count()
24 <<"ms\n";
25 }
std::vector< ALFA_RawDataCollection_p1 > t1
The documentation for this struct was generated from the following file: