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 258 of file FastTimerService.h.

Constructor & Destructor Documentation

◆ ResourcesPerModule()

FastTimerService::ResourcesPerModule::ResourcesPerModule ( )
noexcept

Definition at line 180 of file FastTimerService.cc.

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

Member Function Documentation

◆ operator+()

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

Definition at line 195 of file FastTimerService.cc.

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

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

◆ operator+=()

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

Definition at line 188 of file FastTimerService.cc.

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

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

◆ reset()

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

Definition at line 182 of file FastTimerService.cc.

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

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

Member Data Documentation

◆ events

unsigned FastTimerService::ResourcesPerModule::events

◆ has_acquire

bool FastTimerService::ResourcesPerModule::has_acquire

Definition at line 269 of file FastTimerService.h.

◆ total

Resources FastTimerService::ResourcesPerModule::total

Definition at line 267 of file FastTimerService.h.

FastTimerService::ResourcesPerModule::ResourcesPerModule
ResourcesPerModule() noexcept
Definition: FastTimerService.cc:180
trackingPlots.other
other
Definition: trackingPlots.py:1460
FastTimerService::ResourcesPerModule::total
Resources total
Definition: FastTimerService.h:267
FastTimerService::ResourcesPerModule::events
unsigned events
Definition: FastTimerService.h:268
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:88
mps_fire.result
result
Definition: mps_fire.py:311
FastTimerService::ResourcesPerModule::has_acquire
bool has_acquire
Definition: FastTimerService.h:269