#include <EvFBuildingThrottle.h>
Definition at line 18 of file EvFBuildingThrottle.h.
◆ Directory
◆ EvFBuildingThrottle()
◆ ~EvFBuildingThrottle()
evf::EvFBuildingThrottle::~EvFBuildingThrottle |
( |
| ) |
|
|
inline |
◆ dowork()
void evf::EvFBuildingThrottle::dowork |
( |
| ) |
|
|
inlineprivate |
Definition at line 60 of file EvFBuildingThrottle.h.
76 std::cout <<
">>>>throttling on " << std::endl;
86 std::cout <<
" Shutdown flag set: stop throttling" << std::endl;
References baseDir_, visDQMUpload::buf, gather_cfg::cout, dqmMemoryStats::float, HLT_2018_cff::fraction, highWaterMark_, lock_, lowWaterMark_, m_stoprequest, edm::shutdown_flag, sleep_, throttled_, and token_.
Referenced by start().
◆ postBeginRun()
◆ postEndRun()
◆ preBeginLumi()
◆ preBeginRun()
◆ start()
void evf::EvFBuildingThrottle::start |
( |
| ) |
|
|
inlineprivate |
Definition at line 93 of file EvFBuildingThrottle.h.
References cms::cuda::assert(), 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().
◆ stop()
void evf::EvFBuildingThrottle::stop |
( |
| ) |
|
|
inlineprivate |
◆ throttled()
bool evf::EvFBuildingThrottle::throttled |
( |
| ) |
const |
|
inline |
◆ baseDir_
std::string evf::EvFBuildingThrottle::baseDir_ |
|
private |
◆ highWaterMark_
double evf::EvFBuildingThrottle::highWaterMark_ |
|
private |
◆ lock_
◆ lowWaterMark_
double evf::EvFBuildingThrottle::lowWaterMark_ |
|
private |
◆ m_stoprequest
std::atomic<bool> evf::EvFBuildingThrottle::m_stoprequest |
|
private |
◆ m_thread
std::shared_ptr<std::thread> evf::EvFBuildingThrottle::m_thread |
|
private |
◆ sleep_
unsigned int evf::EvFBuildingThrottle::sleep_ |
|
private |
◆ throttled_
bool evf::EvFBuildingThrottle::throttled_ |
|
private |
◆ token_
◆ whatToThrottleOn_
Directory evf::EvFBuildingThrottle::whatToThrottleOn_ |
|
private |