#include <EventFilter/StorageManager/interface/SMPerformanceMeter.h>
Public Member Functions | |
void | fullReset () |
void | reset () |
SMPerfStats () | |
Public Attributes | |
boost::shared_ptr< ForeverCounter > | longTermCounter_ |
double | maxBandwidth2_ |
double | maxBandwidth_ |
double | minBandwidth2_ |
double | minBandwidth_ |
unsigned long | period4samples_ |
unsigned long | samples_ |
boost::shared_ptr < RollingIntervalCounter > | shortPeriodCounter_ |
boost::shared_ptr < RollingSampleCounter > | shortTermCounter_ |
Definition at line 22 of file SMPerformanceMeter.h.
stor::SMPerfStats::SMPerfStats | ( | ) |
Definition at line 10 of file SMPerformanceMeter.cc.
References stor::RollingSampleCounter::INCLUDE_SAMPLES_IMMEDIATELY, longTermCounter_, period4samples_, samples_, shortPeriodCounter_, and shortTermCounter_.
00010 : 00011 samples_(1000), 00012 period4samples_(5), 00013 maxBandwidth_(0.), 00014 minBandwidth_(999999.), 00015 maxBandwidth2_(0.), 00016 minBandwidth2_(999999.) 00017 { 00018 longTermCounter_.reset(new ForeverCounter()); 00019 shortTermCounter_.reset(new RollingSampleCounter(samples_, samples_, samples_, 00020 RollingSampleCounter::INCLUDE_SAMPLES_IMMEDIATELY)); 00021 shortPeriodCounter_.reset(new RollingIntervalCounter(10*period4samples_, period4samples_, period4samples_)); 00022 }
void stor::SMPerfStats::fullReset | ( | ) |
Definition at line 32 of file SMPerformanceMeter.cc.
References stor::RollingSampleCounter::INCLUDE_SAMPLES_IMMEDIATELY, longTermCounter_, maxBandwidth2_, maxBandwidth_, minBandwidth2_, minBandwidth_, period4samples_, samples_, shortPeriodCounter_, and shortTermCounter_.
Referenced by stor::DataProcessManager::init(), stor::SMPerformanceMeter::init(), stor::SMPerformanceMeter::setPeriod4Samples(), stor::SMPerformanceMeter::setSamples(), and stor::SMPerformanceMeter::SMPerformanceMeter().
00033 { 00034 longTermCounter_.reset(new ForeverCounter()); 00035 shortTermCounter_.reset(new RollingSampleCounter(samples_, samples_, samples_, 00036 RollingSampleCounter::INCLUDE_SAMPLES_IMMEDIATELY)); 00037 shortPeriodCounter_.reset(new RollingIntervalCounter(10*period4samples_, period4samples_, period4samples_)); 00038 maxBandwidth_ = 0.; 00039 minBandwidth_ = 999999.; 00040 maxBandwidth2_ = 0.; 00041 minBandwidth2_ = 999999.; 00042 }
Definition at line 24 of file SMPerformanceMeter.cc.
References maxBandwidth2_, maxBandwidth_, minBandwidth2_, and minBandwidth_.
00025 { 00026 maxBandwidth_ = 0.; 00027 minBandwidth_ = 999999.; 00028 maxBandwidth2_ = 0.; 00029 minBandwidth2_ = 999999.; 00030 }
boost::shared_ptr<ForeverCounter> stor::SMPerfStats::longTermCounter_ |
Definition at line 30 of file SMPerformanceMeter.h.
Referenced by stor::StorageManager::addMeasurement(), stor::SMProxyServer::addOutMeasurement(), stor::SMPerformanceMeter::addSample(), stor::SMProxyServer::defaultWebPage(), fullReset(), edm::ServiceManager::get_stats(), SMPerfStats(), and stor::SMPerformanceMeter::totalvolumemb().
Definition at line 37 of file SMPerformanceMeter.h.
Referenced by stor::StorageManager::addMeasurement(), stor::SMProxyServer::addOutMeasurement(), stor::SMPerformanceMeter::addSample(), stor::SMProxyServer::defaultWebPage(), fullReset(), edm::ServiceManager::get_stats(), and reset().
Definition at line 34 of file SMPerformanceMeter.h.
Referenced by stor::StorageManager::addMeasurement(), stor::SMProxyServer::addOutMeasurement(), stor::SMPerformanceMeter::addSample(), stor::SMProxyServer::defaultWebPage(), fullReset(), edm::ServiceManager::get_stats(), and reset().
Definition at line 38 of file SMPerformanceMeter.h.
Referenced by stor::StorageManager::addMeasurement(), stor::SMProxyServer::addOutMeasurement(), stor::SMPerformanceMeter::addSample(), stor::SMProxyServer::defaultWebPage(), fullReset(), edm::ServiceManager::get_stats(), and reset().
Definition at line 35 of file SMPerformanceMeter.h.
Referenced by stor::StorageManager::addMeasurement(), stor::SMProxyServer::addOutMeasurement(), stor::SMPerformanceMeter::addSample(), stor::SMProxyServer::defaultWebPage(), fullReset(), edm::ServiceManager::get_stats(), and reset().
unsigned long stor::SMPerfStats::period4samples_ |
Definition at line 29 of file SMPerformanceMeter.h.
Referenced by fullReset(), stor::SMPerformanceMeter::getPeriod4Samples(), stor::SMPerformanceMeter::init(), stor::SMPerformanceMeter::setPeriod4Samples(), and SMPerfStats().
unsigned long stor::SMPerfStats::samples_ |
Definition at line 28 of file SMPerformanceMeter.h.
Referenced by stor::SMPerformanceMeter::addSample(), fullReset(), stor::SMPerformanceMeter::getSetSamples(), stor::SMPerformanceMeter::init(), stor::SMPerformanceMeter::samples(), stor::SMPerformanceMeter::setSamples(), and SMPerfStats().
boost::shared_ptr<RollingIntervalCounter> stor::SMPerfStats::shortPeriodCounter_ |
Definition at line 32 of file SMPerformanceMeter.h.
Referenced by stor::StorageManager::addMeasurement(), stor::SMProxyServer::addOutMeasurement(), stor::SMPerformanceMeter::addSample(), stor::SMProxyServer::defaultWebPage(), fullReset(), edm::ServiceManager::get_stats(), and SMPerfStats().
boost::shared_ptr<RollingSampleCounter> stor::SMPerfStats::shortTermCounter_ |
Definition at line 31 of file SMPerformanceMeter.h.
Referenced by stor::StorageManager::addMeasurement(), stor::SMProxyServer::addOutMeasurement(), stor::SMPerformanceMeter::addSample(), stor::SMProxyServer::defaultWebPage(), fullReset(), edm::ServiceManager::get_stats(), and SMPerfStats().