#include <EvFBuildingThrottle.h>
Public Types | |
enum | Directory { mInvalid = 0, mBase, mBU, mCOUNT } |
Public Member Functions | |
EvFBuildingThrottle (const edm::ParameterSet &pset, edm::ActivityRegistry ®) | |
void | postBeginRun (edm::GlobalContext const &gc) |
void | postEndRun (edm::GlobalContext const &gc) |
void | preBeginLumi (edm::GlobalContext const &gc) |
void | preBeginRun (edm::GlobalContext const &gc) |
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.
|
inlineexplicit |
Definition at line 21 of file EvFBuildingThrottle.h.
References postEndRun(), preBeginLumi(), preBeginRun(), edm::ActivityRegistry::watchPostGlobalEndRun(), edm::ActivityRegistry::watchPreGlobalBeginLumi(), and edm::ActivityRegistry::watchPreGlobalBeginRun().
|
inline |
Definition at line 34 of file EvFBuildingThrottle.h.
|
inlineprivate |
Definition at line 64 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 52 of file EvFBuildingThrottle.h.
|
inline |
Definition at line 55 of file EvFBuildingThrottle.h.
References stop().
Referenced by EvFBuildingThrottle().
|
inline |
Definition at line 58 of file EvFBuildingThrottle.h.
References lock_.
Referenced by EvFBuildingThrottle().
|
inline |
Definition at line 35 of file EvFBuildingThrottle.h.
References baseDir_, mBase, mBU, mInvalid, start(), and whatToThrottleOn_.
Referenced by EvFBuildingThrottle().
|
inlineprivate |
Definition at line 84 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 90 of file EvFBuildingThrottle.h.
References m_stoprequest, and m_thread.
Referenced by postEndRun().
|
inline |
|
private |
Definition at line 101 of file EvFBuildingThrottle.h.
Referenced by dowork(), and preBeginRun().
|
private |
Definition at line 96 of file EvFBuildingThrottle.h.
Referenced by dowork().
|
private |
Definition at line 100 of file EvFBuildingThrottle.h.
Referenced by dowork(), and preBeginLumi().
|
private |
Definition at line 97 of file EvFBuildingThrottle.h.
Referenced by dowork().
|
private |
Definition at line 98 of file EvFBuildingThrottle.h.
|
private |
Definition at line 99 of file EvFBuildingThrottle.h.
|
private |
Definition at line 105 of file EvFBuildingThrottle.h.
Referenced by dowork().
|
private |
Definition at line 104 of file EvFBuildingThrottle.h.
Referenced by dowork(), and throttled().
|
private |
Definition at line 103 of file EvFBuildingThrottle.h.
|
private |
Definition at line 102 of file EvFBuildingThrottle.h.
Referenced by preBeginRun(), and start().