src
FWCore
Utilities
src
TimingServiceBase.cc
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: Subsystem/Package
4
// Class : TimingServiceBase
5
//
6
// Implementation:
7
// [Notes on implementation]
8
//
9
// Original Author: Chris Jones
10
// Created: Wed, 11 Jun 2014 15:08:00 GMT
11
//
12
13
// system include files
14
#include <sys/resource.h>
15
#include <sys/time.h>
16
17
// user include files
18
#include "
FWCore/Utilities/interface/TimingServiceBase.h
"
19
20
using namespace
edm
;
21
//
22
// constants, enums and typedefs
23
//
24
std::chrono::steady_clock::time_point
TimingServiceBase::s_jobStartTime
;
25
26
void
TimingServiceBase::jobStarted
() {
27
if
(0 ==
s_jobStartTime
.time_since_epoch().count()) {
28
s_jobStartTime
=
std::chrono::steady_clock::now
();
29
}
30
}
31
32
//
33
// constructors and destructor
34
//
35
TimingServiceBase::TimingServiceBase
() {}
36
37
TimingServiceBase::~TimingServiceBase
() {}
edm::TimingServiceBase::TimingServiceBase
TimingServiceBase()
Definition:
TimingServiceBase.cc:35
edm::TimingServiceBase::s_jobStartTime
static std::chrono::steady_clock::time_point s_jobStartTime
Definition:
TimingServiceBase.h:51
edm::TimingServiceBase::~TimingServiceBase
virtual ~TimingServiceBase()
Definition:
TimingServiceBase.cc:37
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::TimingServiceBase::jobStarted
static void jobStarted()
Definition:
TimingServiceBase.cc:26
submitPVValidationJobs.now
now
Definition:
submitPVValidationJobs.py:645
TimingServiceBase.h
Generated for CMSSW Reference Manual by
1.8.14