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 
14 #include "sigc++/signal.h"
15 
16 namespace edm {
17  class ActivityRegistry;
18  class Event;
19  class EventSetup;
20  class ParameterSet;
22 
23  namespace service {
24  class CPU {
25  public:
27  ~CPU();
28 
29  static void fillDescriptions(ConfigurationDescriptions& descriptions);
30 
31  private:
35 
36  void postEndJob();
37  };
38 
39  inline
40  bool isProcessWideService(CPU const*) {
41  return true;
42  }
43  }
44 }
45 #endif
double averageCoreSpeed_
Definition: CPU.h:33
void postEndJob()
Definition: CPU.cc:102
bool reportCPUProperties_
Definition: CPU.h:34
int totalNumberCPUs_
Definition: CPU.h:32
CPU(ParameterSet const &, ActivityRegistry &)
Definition: CPU.cc:82
static void fillDescriptions(ConfigurationDescriptions &descriptions)
Definition: CPU.cc:95
bool isProcessWideService(MessageLogger const *)