6 #include <boost/format.hpp> 22 descriptions.
add(
"ThroughputService", desc);
29 m_time_range(config.getUntrackedParameter<double>(
"timeRange")),
46 concurrent_streams % concurrent_threads)
60 m_sourced_events = booker.book1D(
"throughput_sourced",
"Throughput (sourced events)", bins, 0., range);
63 m_retired_events = booker.book1D(
"throughput_retired",
"Throughput (retired events)", bins, 0., range);
71 std::cerr <<
"No DQMStore service, aborting." << std::endl;
void preallocate(edm::service::SystemBounds const &bounds)
unsigned int maxNumberOfThreads() const
dqm::reco::MonitorElement * m_sourced_events
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
void preSourceEvent(edm::StreamID sid)
void watchPostEvent(PostEvent::slot_type const &iSlot)
LuminosityBlockID const & luminosityBlockID() const
dqm::reco::MonitorElement * m_retired_events
void postEvent(edm::StreamContext const &sc)
void preGlobalBeginRun(edm::GlobalContext const &gc)
unsigned int maxNumberOfStreams() const
std::chrono::steady_clock::time_point m_startup
virtual void setXTitle(std::string const &title)
#define DEFINE_FWK_SERVICE(type)
void watchPreGlobalBeginRun(PreGlobalBeginRun::slot_type const &iSlot)
const std::string processor_model
virtual void setYTitle(std::string const &title)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
ThroughputService(const edm::ParameterSet &, edm::ActivityRegistry &)
const double m_time_resolution
const double m_time_range
void watchPreSourceEvent(PreSourceEvent::slot_type const &iSlot)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)