Go to the documentation of this file. 1 #ifndef EVENTFILTER_UTILTIES_PLUGINS_EVFBuildingThrottle
2 #define EVENTFILTER_UTILTIES_PLUGINS_EVFBuildingThrottle
12 #include <sys/statvfs.h>
27 sleep_(
pset.getUntrackedParameter<unsigned
int>(
"sleepmSecs", 1000)) {
76 std::cout <<
">>>>throttling on " << std::endl;
86 std::cout <<
" Shutdown flag set: stop throttling" << std::endl;
void preBeginLumi(edm::GlobalContext const &gc)
void postEndRun(edm::GlobalContext const &gc)
std::atomic< bool > m_stoprequest
void watchPostGlobalEndRun(PostGlobalEndRun::slot_type const &iSlot)
void postBeginRun(edm::GlobalContext const &gc)
std::shared_ptr< std::thread > m_thread
ServiceToken presentToken() const
volatile std::atomic< bool > shutdown_flag
static ServiceRegistry & instance()
void watchPreGlobalBeginLumi(PreGlobalBeginLumi::slot_type const &iSlot)
void preBeginRun(edm::GlobalContext const &gc)
Directory whatToThrottleOn_
void watchPreGlobalBeginRun(PreGlobalBeginRun::slot_type const &iSlot)
EvFBuildingThrottle(const edm::ParameterSet &pset, edm::ActivityRegistry ®)