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 }
void start()
Definition: Timer.cc:5
double ttotsq_
Definition: Timer.h:25
double ttot_
Definition: Timer.h:24
void stop()
Definition: Timer.cc:6
tmp
align.sh
Definition: createJobs.py:716
unsigned int ntimes_
Definition: Timer.h:23
std::chrono::high_resolution_clock::time_point tstart_
Definition: Timer.h:27