Main Page
Namespaces
Classes
Package Documentation
src
FWCore
Utilities
interface
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
{
27
class
CPUServiceBase
{
28
public
:
29
CPUServiceBase
();
30
virtual
~CPUServiceBase
();
31
32
// ---------- member functions ---------------------------
34
virtual
bool
cpuInfo
(
std::string
&
models
,
double
&avgSpeed) = 0;
35
36
private
:
37
CPUServiceBase
(
const
CPUServiceBase
&) =
delete
;
// stop default
38
39
const
CPUServiceBase
&
operator=
(
const
CPUServiceBase
&) =
delete
;
// stop default
40
};
41
}
// namespace edm
42
43
#endif
edm::CPUServiceBase::CPUServiceBase
CPUServiceBase()
Definition:
CPUServiceBase.cc:26
edm::CPUServiceBase::operator=
const CPUServiceBase & operator=(const CPUServiceBase &)=delete
edm::CPUServiceBase::cpuInfo
virtual bool cpuInfo(std::string &models, double &avgSpeed)=0
CPU information - the models present and average speed.
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::CPUServiceBase::~CPUServiceBase
virtual ~CPUServiceBase()
Definition:
CPUServiceBase.cc:28
models
Definition:
models.py:1
edm::CPUServiceBase
Definition:
CPUServiceBase.h:27
edm
HLT enums.
Definition:
AlignableModifier.h:17
Generated for CMSSW Reference Manual by
1.8.11