test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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;
19 
20  namespace service {
21  class CPU {
22  public:
24  ~CPU();
25 
26  static void fillDescriptions(ConfigurationDescriptions& descriptions);
27 
28  private:
32 
33  void postEndJob();
34  };
35 
36  inline
37  bool isProcessWideService(CPU const*) {
38  return true;
39  }
40  }
41 }
42 #endif
double averageCoreSpeed_
Definition: CPU.h:30
void postEndJob()
Definition: CPU.cc:102
bool reportCPUProperties_
Definition: CPU.h:31
bool isProcessWideService(TFileService const *)
Definition: TFileService.h:99
int totalNumberCPUs_
Definition: CPU.h:29
CPU(ParameterSet const &, ActivityRegistry &)
Definition: CPU.cc:82
static void fillDescriptions(ConfigurationDescriptions &descriptions)
Definition: CPU.cc:95