![]() |
|
|||
File indexing completed on 2023-03-17 11:13:53
0001 #include "L1Trigger/TrackFindingTracklet/interface/Timer.h" 0002 0003 using namespace trklet; 0004 0005 void Timer::start() { tstart_ = std::chrono::high_resolution_clock::now(); } 0006 void Timer::stop() { 0007 auto tstop = std::chrono::high_resolution_clock::now(); 0008 double tmp = std::chrono::duration<double>(tstop - tstart_).count(); 0009 ttot_ += tmp; 0010 ttotsq_ += tmp * tmp; 0011 ntimes_++; 0012 }
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.2.1 LXR engine. The LXR team |
![]() ![]() |