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 179 of file FastTimerService.cc.

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

Member Function Documentation

◆ operator+()

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

Definition at line 194 of file FastTimerService.cc.

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

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

◆ operator+=()

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

Definition at line 187 of file FastTimerService.cc.

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

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

◆ reset()

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

Definition at line 181 of file FastTimerService.cc.

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

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:179
trackingPlots.other
other
Definition: trackingPlots.py:1467
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:87
mps_fire.result
result
Definition: mps_fire.py:311
FastTimerService::ResourcesPerModule::has_acquire
bool has_acquire
Definition: FastTimerService.h:268