Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
namespace
edm {
14
class
ActivityRegistry
;
15
class
Event
;
16
class
EventSetup
;
17
class
ParameterSet
;
18
class
ConfigurationDescriptions
;
19
20
namespace
service {
21
class
CPU
{
22
public
:
23
CPU
(
ParameterSet
const
&,
ActivityRegistry
&);
24
~CPU
();
25
26
static
void
fillDescriptions
(
ConfigurationDescriptions
& descriptions);
27
28
private
:
29
int
totalNumberCPUs_
;
30
double
averageCoreSpeed_
;
31
bool
reportCPUProperties_
;
32
33
void
postEndJob
();
34
};
35
36
inline
37
bool
isProcessWideService
(
CPU
const
*) {
38
return
true
;
39
}
40
}
41
}
42
#endif
edm::service::CPU::averageCoreSpeed_
double averageCoreSpeed_
Definition:
CPU.h:30
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:31
ParameterSet
Definition:
Functions.h:16
edm::service::isProcessWideService
bool isProcessWideService(TFileService const *)
Definition:
TFileService.h:99
EventSetup
edm::service::CPU::totalNumberCPUs_
int totalNumberCPUs_
Definition:
CPU.h:29
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::ParameterSet
Definition:
ParameterSet.h:35
edm::service::CPU
Definition:
CPU.h:21
edm::ActivityRegistry
Definition:
ActivityRegistry.h:86
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:27
Generated for CMSSW Reference Manual by
1.8.5