CMS 3D CMS Logo

List of all members | Public Member Functions
EventProcessingAllocMonitor Class Reference

Public Member Functions

 EventProcessingAllocMonitor (edm::ParameterSet const &iPS, edm::ActivityRegistry &iAR)
 

Detailed Description

Definition at line 86 of file EventProcessingAllocMonitor.cc.

Constructor & Destructor Documentation

◆ EventProcessingAllocMonitor()

EventProcessingAllocMonitor::EventProcessingAllocMonitor ( edm::ParameterSet const &  iPS,
edm::ActivityRegistry iAR 
)
inline

Definition at line 88 of file EventProcessingAllocMonitor.cc.

References edm::signalslot::Signal< T >::connect(), cms::perftools::AllocMonitorRegistry::createAndRegisterMonitor(), cms::perftools::AllocMonitorRegistry::deregisterMonitor(), cms::perftools::AllocMonitorRegistry::instance(), edm::ActivityRegistry::postBeginJobSignal_, and edm::ActivityRegistry::preEndJobSignal_.

88  {
90 
91  iAR.postBeginJobSignal_.connect([adaptor]() { adaptor->start(); });
92  iAR.preEndJobSignal_.connect([adaptor]() {
93  adaptor->performanceReport();
95  });
96  }
static AllocMonitorRegistry & instance()
PostBeginJob postBeginJobSignal_
signal is emitted after all modules have gotten their beginJob called
void deregisterMonitor(AllocMonitorBase *)
void connect(U iFunc)
Definition: Signal.h:64
PreEndJob preEndJobSignal_
signal is emitted before any modules have gotten their endJob called