File indexing completed on 2024-04-06 12:13:14
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 #include <sys/resource.h>
0015 #include <sys/time.h>
0016
0017
0018 #include "FWCore/Utilities/interface/TimingServiceBase.h"
0019
0020 using namespace edm;
0021
0022
0023
0024 std::chrono::steady_clock::time_point TimingServiceBase::s_jobStartTime;
0025
0026 void TimingServiceBase::jobStarted() {
0027 if (0 == s_jobStartTime.time_since_epoch().count()) {
0028 s_jobStartTime = std::chrono::steady_clock::now();
0029 }
0030 }
0031
0032
0033
0034
0035 TimingServiceBase::TimingServiceBase() {}
0036
0037 TimingServiceBase::~TimingServiceBase() {}