CMS 3D CMS Logo

TimingServiceBase.h
Go to the documentation of this file.
1 #ifndef FWCore_Utilities_TimingServiceBase_h
2 #define FWCore_Utilities_TimingServiceBase_h
3 // -*- C++ -*-
4 //
5 // Package: FWCore/Utilities
6 // Class : TimingServiceBase
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Wed, 11 Jun 2014 14:50:33 GMT
19 //
20 
21 // system include files
22 
23 // user include files
25 
26 // forward declarations
27 namespace edm {
29  {
30 
31  public:
33  virtual ~TimingServiceBase();
34 
35  // ---------- member functions ---------------------------
39  virtual void addToCPUTime(double iTime) = 0;
40 
43  virtual double getTotalCPU() const = 0;
44 
45  private:
46  TimingServiceBase(const TimingServiceBase&) =delete; // stop default
47 
48  const TimingServiceBase& operator=(const TimingServiceBase&) =delete; // stop default
49  };
50 }
51 
52 
53 #endif
virtual void addToCPUTime(double iTime)=0
virtual double getTotalCPU() const =0
const TimingServiceBase & operator=(const TimingServiceBase &)=delete
HLT enums.