L1Trigger
TrackFindingTracklet
src
Timer.cc
Go to the documentation of this file.
1
#include "
L1Trigger/TrackFindingTracklet/interface/Timer.h
"
2
3
using namespace
trklet
;
4
5
void
Timer::start
() {
tstart_
=
std::chrono::high_resolution_clock::now
(); }
6
void
Timer::stop
() {
7
auto
tstop =
std::chrono::high_resolution_clock::now
();
8
double
tmp
= std::chrono::duration<double>(tstop -
tstart_
).count();
9
ttot_
+=
tmp
;
10
ttotsq_
+=
tmp
*
tmp
;
11
ntimes_
++;
12
}
trklet::Timer::tstart_
std::chrono::high_resolution_clock::time_point tstart_
Definition:
Timer.h:27
trklet::Timer::ttotsq_
double ttotsq_
Definition:
Timer.h:25
createJobs.tmp
tmp
align.sh
Definition:
createJobs.py:716
fileCollector.now
now
Definition:
fileCollector.py:207
trklet::Timer::start
void start()
Definition:
Timer.cc:5
Timer.h
trklet::Timer::ttot_
double ttot_
Definition:
Timer.h:24
trklet::Timer::stop
void stop()
Definition:
Timer.cc:6
trklet
Definition:
AllProjectionsMemory.h:9
trklet::Timer::ntimes_
unsigned int ntimes_
Definition:
Timer.h:23
Generated for CMSSW Reference Manual by
1.8.16