Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
FWCore
Services
src
CPU.h
Go to the documentation of this file.
1
#ifndef Services_CPU_h
2
#define Services_CPU_h
3
// -*- C++ -*-
4
//
5
// Package: Services
6
// Class : CPU
7
//
8
//
9
// Original Author: Natalia Garcia
10
// CPU.h: v 1.0 2009/01/08 11:27:50
11
//
12
13
#include "
DataFormats/Provenance/interface/ProvenanceFwd.h
"
14
#include "sigc++/signal.h"
15
16
namespace
edm {
17
class
ActivityRegistry
;
18
class
Event
;
19
class
EventSetup
;
20
class
ParameterSet
;
21
class
ConfigurationDescriptions
;
22
23
namespace
service {
24
class
CPU
{
25
public
:
26
CPU
(
ParameterSet
const
&,
ActivityRegistry
&);
27
~CPU
();
28
29
static
void
fillDescriptions
(
ConfigurationDescriptions
& descriptions);
30
31
private
:
32
int
totalNumberCPUs_
;
33
double
averageCoreSpeed_
;
34
bool
reportCPUProperties_
;
35
36
void
postEndJob
();
37
};
38
39
inline
40
bool
isProcessWideService
(
CPU
const
*) {
41
return
true
;
42
}
43
}
44
}
45
#endif
edm::service::CPU::averageCoreSpeed_
double averageCoreSpeed_
Definition:
CPU.h:33
edm::service::CPU::postEndJob
void postEndJob()
Definition:
CPU.cc:102
edm::service::CPU::~CPU
~CPU()
Definition:
CPU.cc:91
edm::service::CPU::reportCPUProperties_
bool reportCPUProperties_
Definition:
CPU.h:34
ParameterSet
Definition:
Functions.h:16
ProvenanceFwd.h
EventSetup
edm::service::CPU::totalNumberCPUs_
int totalNumberCPUs_
Definition:
CPU.h:32
ActivityRegistry
ConfigurationDescriptions
edm::service::CPU::CPU
CPU(ParameterSet const &, ActivityRegistry &)
Definition:
CPU.cc:82
Event
edm::service::CPU::fillDescriptions
static void fillDescriptions(ConfigurationDescriptions &descriptions)
Definition:
CPU.cc:95
edm::service::isProcessWideService
bool isProcessWideService(MessageLogger const *)
Definition:
MessageLogger.h:152
edm::ParameterSet
Definition:
ParameterSet.h:32
edm::service::CPU
Definition:
CPU.h:24
edm::ActivityRegistry
Definition:
ActivityRegistry.h:46
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:27
Generated for CMSSW Reference Manual by
1.8.5