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::start
void start()
Definition:
Timer.cc:5
Timer.h
trklet::Timer::ttotsq_
double ttotsq_
Definition:
Timer.h:25
submitPVResolutionJobs.count
count
Definition:
submitPVResolutionJobs.py:352
trklet::Timer::ttot_
double ttot_
Definition:
Timer.h:24
submitPVValidationJobs.now
now
Definition:
submitPVValidationJobs.py:639
trklet::Timer::stop
void stop()
Definition:
Timer.cc:6
createJobs.tmp
tmp
align.sh
Definition:
createJobs.py:716
trklet
Definition:
AllInnerStubsMemory.h:10
trklet::Timer::ntimes_
unsigned int ntimes_
Definition:
Timer.h:23
trklet::Timer::tstart_
std::chrono::high_resolution_clock::time_point tstart_
Definition:
Timer.h:27
Generated for CMSSW Reference Manual by
1.8.14