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 ()
 

Public Attributes

unsigned events
 
Resources total
 

Detailed Description

Definition at line 257 of file FastTimerService.h.

Member Function Documentation

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

Definition at line 170 of file FastTimerService.cc.

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

170  {
171  ResourcesPerModule result(*this);
172  result += other;
173  return result;
174 }
FastTimerService::ResourcesPerModule & FastTimerService::ResourcesPerModule::operator+= ( ResourcesPerModule const &  other)

Definition at line 163 of file FastTimerService.cc.

References PatBasicFWLiteAnalyzer::events, events, pileupDistInMC::total, and total.

163  {
164  total += other.total;
165  events += other.events;
166  return *this;
167 }
void FastTimerService::ResourcesPerModule::reset ( void  )

Member Data Documentation

unsigned FastTimerService::ResourcesPerModule::events
Resources FastTimerService::ResourcesPerModule::total

Definition at line 264 of file FastTimerService.h.

Referenced by operator+=().