#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_ |
std::atomic< bool > | m_stoprequest |
boost::shared_ptr< boost::thread > | m_thread |
unsigned int | sleep_ |
bool | throttled_ |
edm::ServiceToken | token_ |
Directory | whatToThrottleOn_ |
Definition at line 19 of file EvFBuildingThrottle.h.
|
inlineexplicit |
Definition at line 23 of file EvFBuildingThrottle.h.
References postEndRun(), preBeginLumi(), preBeginRun(), edm::ActivityRegistry::watchPostGlobalEndRun(), edm::ActivityRegistry::watchPreGlobalBeginLumi(), and edm::ActivityRegistry::watchPreGlobalBeginRun().
|
inline |
Definition at line 36 of file EvFBuildingThrottle.h.
|
inlineprivate |
Definition at line 66 of file EvFBuildingThrottle.h.
References baseDir_, gather_cfg::cout, objects.autophobj::float, dedxEstimators_cff::fraction, highWaterMark_, lock_, lowWaterMark_, m_stoprequest, cmsPerfStripChart::operate(), edm::shutdown_flag, sleep_, throttled_, and token_.
Referenced by start().
|
inline |
Definition at line 54 of file EvFBuildingThrottle.h.
|
inline |
Definition at line 57 of file EvFBuildingThrottle.h.
References stop().
Referenced by EvFBuildingThrottle().
|
inline |
Definition at line 60 of file EvFBuildingThrottle.h.
References lock_.
Referenced by EvFBuildingThrottle().
|
inline |
Definition at line 37 of file EvFBuildingThrottle.h.
References baseDir_, mBase, mBU, mInvalid, start(), and whatToThrottleOn_.
Referenced by EvFBuildingThrottle().
|
inlineprivate |
Definition at line 91 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 97 of file EvFBuildingThrottle.h.
References m_stoprequest, and m_thread.
Referenced by postEndRun().
|
inline |
|
private |
Definition at line 108 of file EvFBuildingThrottle.h.
Referenced by dowork(), and preBeginRun().
|
private |
Definition at line 103 of file EvFBuildingThrottle.h.
Referenced by dowork().
|
private |
Definition at line 107 of file EvFBuildingThrottle.h.
Referenced by dowork(), and preBeginLumi().
|
private |
Definition at line 104 of file EvFBuildingThrottle.h.
Referenced by dowork().
|
private |
Definition at line 105 of file EvFBuildingThrottle.h.
|
private |
Definition at line 106 of file EvFBuildingThrottle.h.
|
private |
Definition at line 112 of file EvFBuildingThrottle.h.
Referenced by dowork().
|
private |
Definition at line 111 of file EvFBuildingThrottle.h.
Referenced by dowork(), and throttled().
|
private |
Definition at line 110 of file EvFBuildingThrottle.h.
|
private |
Definition at line 109 of file EvFBuildingThrottle.h.
Referenced by preBeginRun(), and start().