CMS 3D CMS Logo

CPUServiceBase.h
Go to the documentation of this file.
1 #ifndef FWCore_Utilities_CPUServiceBase_h
2 #define FWCore_Utilities_CPUServiceBase_h
3 // -*- C++ -*-
4 //
5 // Package: FWCore/Utilities
6 // Class : CPUServiceBase
7 //
17 //
18 // Original Author: Brian Bockelman
19 // Created: Wed Sep 7 12:05:13 CDT 2016
20 //
21 
22 // system include files
23 #include <string>
24 
25 // forward declarations
26 namespace edm {
28  {
29 
30  public:
32  virtual ~CPUServiceBase();
33 
34  // ---------- member functions ---------------------------
36  virtual bool cpuInfo(std::string &models, double &avgSpeed) = 0;
37 
38  private:
39  CPUServiceBase(const CPUServiceBase&) = delete; // stop default
40 
41  const CPUServiceBase& operator=(const CPUServiceBase&) = delete; // stop default
42  };
43 }
44 
45 
46 #endif
const CPUServiceBase & operator=(const CPUServiceBase &)=delete
virtual bool cpuInfo(std::string &models, double &avgSpeed)=0
CPU information - the models present and average speed.
Definition: models.py:1
HLT enums.