CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
FastTimerService::ResourcesPerModule Struct Reference

Public Member Functions

ResourcesPerModule operator+ (ResourcesPerModule const &other) const
 
ResourcesPerModuleoperator+= (ResourcesPerModule const &other)
 
void reset () noexcept
 
 ResourcesPerModule () noexcept
 

Public Attributes

unsigned events
 
bool has_acquire
 
Resources total
 

Detailed Description

Definition at line 257 of file FastTimerService.h.

Constructor & Destructor Documentation

◆ ResourcesPerModule()

FastTimerService::ResourcesPerModule::ResourcesPerModule ( )
noexcept

Definition at line 177 of file FastTimerService.cc.

177 : total(), events(0), has_acquire(false) {}

Member Function Documentation

◆ operator+()

FastTimerService::ResourcesPerModule FastTimerService::ResourcesPerModule::operator+ ( ResourcesPerModule const &  other) const

Definition at line 192 of file FastTimerService.cc.

193  {
194  ResourcesPerModule result(*this);
195  result += other;
196  return result;
197 }

References trackingPlots::other, and mps_fire::result.

◆ operator+=()

FastTimerService::ResourcesPerModule & FastTimerService::ResourcesPerModule::operator+= ( ResourcesPerModule const &  other)

Definition at line 185 of file FastTimerService.cc.

185  {
186  total += other.total;
187  events += other.events;
188  has_acquire = has_acquire or other.has_acquire;
189  return *this;
190 }

References patZpeak::events, or, trackingPlots::other, and dqmMemoryStats::total.

◆ reset()

void FastTimerService::ResourcesPerModule::reset ( void  )
noexcept

Definition at line 179 of file FastTimerService.cc.

179  {
180  total.reset();
181  events = 0;
182  has_acquire = false;
183 }

References patZpeak::events, and dqmMemoryStats::total.

Member Data Documentation

◆ events

unsigned FastTimerService::ResourcesPerModule::events

◆ has_acquire

bool FastTimerService::ResourcesPerModule::has_acquire

Definition at line 268 of file FastTimerService.h.

◆ total

Resources FastTimerService::ResourcesPerModule::total

Definition at line 266 of file FastTimerService.h.

FastTimerService::ResourcesPerModule::ResourcesPerModule
ResourcesPerModule() noexcept
Definition: FastTimerService.cc:177
trackingPlots.other
other
Definition: trackingPlots.py:1465
FastTimerService::ResourcesPerModule::total
Resources total
Definition: FastTimerService.h:266
FastTimerService::ResourcesPerModule::events
unsigned events
Definition: FastTimerService.h:267
or
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
Definition: Activities.doc:12
FastTimerService::Resources::reset
void reset()
Definition: FastTimerService.cc:85
mps_fire.result
result
Definition: mps_fire.py:303
FastTimerService::ResourcesPerModule::has_acquire
bool has_acquire
Definition: FastTimerService.h:268