CMS 3D CMS Logo

Timer.cc
Go to the documentation of this file.
2 
3 using namespace trklet;
4 
6 void Timer::stop() {
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
submitPVValidationJobs.now
now
Definition: submitPVValidationJobs.py:639
trklet::Timer::ttotsq_
double ttotsq_
Definition: Timer.h:25
createJobs.tmp
tmp
align.sh
Definition: createJobs.py:716
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