CMS 3D CMS Logo

ThroughputService.h
Go to the documentation of this file.
1 #ifndef ThroughputService_h
2 #define ThroughputService_h
3 
4 // C++ headers
5 #include <string>
6 #include <chrono>
7 #include <functional>
8 
9 // TBB headers
10 #include <tbb/concurrent_unordered_map.h>
11 #include <tbb/concurrent_unordered_set.h>
12 
13 // ROOT headers
14 #include <TH1F.h>
15 
16 // CMSSW headers
29 
31 public:
34 
35 private:
37  void preSourceEvent(edm::StreamID sid);
38  void postEvent(edm::StreamContext const & sc);
39 
40 public:
41  static void fillDescriptions(edm::ConfigurationDescriptions & descriptions);
42 
43 private:
46 
47  std::chrono::steady_clock::time_point m_startup;
48 
49  // histogram-related data members
50  const double m_time_range;
51  const double m_time_resolution;
52 
53  // DQM service-related data members
55 };
56 
57 #endif // ! ThroughputService_h
const std::string m_dqm_path
void preSourceEvent(edm::StreamID sid)
void postEvent(edm::StreamContext const &sc)
void preGlobalBeginRun(edm::GlobalContext const &)
ConcurrentMonitorElement m_sourced_events
std::chrono::steady_clock::time_point m_startup
ThroughputService(const edm::ParameterSet &, edm::ActivityRegistry &)
ConcurrentMonitorElement m_retired_events
const double m_time_resolution
const double m_time_range
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)