#include <EvFBuildingThrottle.h>
Public Types | |
enum | Directory { mInvalid = 0, mBase, mBU, mSM, mMon, mWhat, mCOUNT } |
Public Member Functions | |
EvFBuildingThrottle (const edm::ParameterSet &pset, edm::ActivityRegistry ®) | |
void | postBeginRun (edm::RunID const &id, edm::Timestamp const &ts) |
void | postEndRun (edm::Run const &run, edm::EventSetup const &es) |
void | preBeginLumi (edm::LuminosityBlockID const &iID, edm::Timestamp const &iTime) |
void | preBeginRun (edm::RunID const &id, edm::Timestamp const &ts) |
bool | throttled () const |
~EvFBuildingThrottle () | |
Private Member Functions | |
void | dowork () |
void | start () |
void | stop () |
Private Attributes | |
std::string | baseDir_ |
double | highWaterMark_ |
boost::mutex | lock_ |
double | lowWaterMark_ |
volatile bool | m_stoprequest |
boost::shared_ptr< boost::thread > | m_thread |
unsigned int | sleep_ |
bool | throttled_ |
edm::ServiceToken | token_ |
Directory | whatToThrottleOn_ |
Definition at line 17 of file EvFBuildingThrottle.h.
Enumerator | |
---|---|
mInvalid | |
mBase | |
mBU | |
mSM | |
mMon | |
mWhat | |
mCOUNT |
Definition at line 20 of file EvFBuildingThrottle.h.
|
inlineexplicit |
Definition at line 22 of file EvFBuildingThrottle.h.
References postEndRun(), preBeginLumi(), preBeginRun(), edm::ActivityRegistry::watchPostEndRun(), edm::ActivityRegistry::watchPreBeginLumi(), and edm::ActivityRegistry::watchPreBeginRun().
|
inline |
Definition at line 35 of file EvFBuildingThrottle.h.
|
inlineprivate |
Definition at line 72 of file EvFBuildingThrottle.h.
References baseDir_, gather_cfg::cout, highWaterMark_, lock_, lowWaterMark_, m_stoprequest, cmsPerfStripChart::operate(), sleep_, throttled_, and token_.
Referenced by start().
|
inline |
Definition at line 59 of file EvFBuildingThrottle.h.
|
inline |
Definition at line 63 of file EvFBuildingThrottle.h.
References stop().
Referenced by EvFBuildingThrottle().
|
inline |
Definition at line 66 of file EvFBuildingThrottle.h.
References lock_.
Referenced by EvFBuildingThrottle().
|
inline |
Definition at line 36 of file EvFBuildingThrottle.h.
References baseDir_, mBase, mBU, mInvalid, mMon, mSM, start(), and whatToThrottleOn_.
Referenced by EvFBuildingThrottle().
|
inlineprivate |
Definition at line 92 of file EvFBuildingThrottle.h.
References gather_cfg::cout, dowork(), edm::ServiceRegistry::instance(), m_thread, edm::ServiceRegistry::presentToken(), token_, and whatToThrottleOn_.
Referenced by progressbar.ProgressBar::__next__(), Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), and preBeginRun().
|
inlineprivate |
Definition at line 98 of file EvFBuildingThrottle.h.
References m_stoprequest, and m_thread.
Referenced by postEndRun().
|
inline |
|
private |
Definition at line 109 of file EvFBuildingThrottle.h.
Referenced by dowork(), and preBeginRun().
|
private |
Definition at line 104 of file EvFBuildingThrottle.h.
Referenced by dowork().
|
private |
Definition at line 108 of file EvFBuildingThrottle.h.
Referenced by dowork(), and preBeginLumi().
|
private |
Definition at line 105 of file EvFBuildingThrottle.h.
Referenced by dowork().
|
private |
Definition at line 106 of file EvFBuildingThrottle.h.
|
private |
Definition at line 107 of file EvFBuildingThrottle.h.
|
private |
Definition at line 113 of file EvFBuildingThrottle.h.
Referenced by dowork().
|
private |
Definition at line 112 of file EvFBuildingThrottle.h.
Referenced by dowork(), and throttled().
|
private |
Definition at line 111 of file EvFBuildingThrottle.h.
|
private |
Definition at line 110 of file EvFBuildingThrottle.h.
Referenced by preBeginRun(), and start().