1 #ifndef EvFFastMonitoringService_H
2 #define EvFFastMonitoringService_H 1
14 #include "boost/filesystem.hpp"
24 #include <unordered_map>
68 std::unordered_map<const void *, int>::const_iterator it=
quickReference_.find(add);
154 void doSnapshot(
const unsigned int ls,
const bool isGlobalEOL);
162 monInit_.exchange(
true,std::memory_order_acquire);
int encode(const void *add)
void prePathEvent(edm::StreamContext const &, edm::PathContext const &)
Encoding(unsigned int res)
std::string pathLegendFile_
void postSourceEvent(edm::StreamID)
void startedLookingForFile()
boost::filesystem::path runDirectory_
void preallocate(edm::service::SystemBounds const &)
std::map< unsigned int, timeval > lumiStartTime_
void preGlobalBeginLumi(edm::GlobalContext const &)
std::string getRunDirName() const
void postGlobalEndLumi(edm::GlobalContext const &)
void postEvent(edm::StreamContext const &)
void accumulateFileSize(unsigned int lumi, unsigned long fileSize)
std::map< unsigned int, unsigned long > accuSize_
FastMonitoringThread fmt_
std::vector< unsigned int > eventCountForPathInit_
unsigned int snapCounter_
std::vector< std::atomic< bool > * > streamCounterUpdating_
void add(const std::vector< const T * > &source, std::vector< const T * > &dest)
void doStreamEOLSnapshot(const unsigned int ls, const unsigned int streamID)
std::map< unsigned int, unsigned int > filesProcessedDuringLumi_
void preGlobalEndLumi(edm::GlobalContext const &)
unsigned int lastGlobalLumi_
unsigned int fastMonIntervals_
void reportEventsThisLumiInSource(unsigned int lumi, unsigned int events)
std::vector< bool > pathNamesReady_
std::atomic< bool > monInit_
unsigned int getEventsProcessedForLumi(unsigned int lumi)
void preModuleBeginJob(edm::ModuleDescription const &)
void updateReserved(void *add)
unsigned int lumiFromSource_
std::vector< std::atomic< bool > * > collectedPathList_
tuple path
else: Piece not in the list, fine.
std::queue< unsigned int > lastGlobalLumisClosed_
std::string microstateDefPath_
void preStreamEndLumi(edm::StreamContext const &)
std::map< unsigned int, double > avgLeadTime_
std::string moduleLegendFile_
void doSnapshot(const unsigned int ls, const bool isGlobalEOL)
static const std::string nopath_
std::vector< const void * > threadMicrostate_
std::string fastMicrostateDefPath_
std::unordered_map< const void *, int > quickReference_
std::vector< unsigned long > firstEventId_
std::vector< const void * > decoder_
static const std::string macroStateNames[FastMonitoringThread::MCOUNT]
void postModuleEvent(edm::StreamContext const &, edm::ModuleCallingContext const &)
void postStreamBeginLumi(edm::StreamContext const &)
void completeReservedWithDummies()
void preSourceEvent(edm::StreamID)
void postStreamEndLumi(edm::StreamContext const &)
std::vector< const void * > microstate_
void preStreamBeginLumi(edm::StreamContext const &)
std::atomic< unsigned long > totalEventsProcessed_
FastMonitoringThread::Macrostate macrostate_
std::vector< double > leadTimes_
void stoppedLookingForFile(unsigned int lumi)
void setMicroState(MicroStateService::Microstate)
std::string makePathLegenda()
boost::filesystem::path workingDirectory_
std::map< unsigned int, unsigned int > processedEventsPerLumi_
std::atomic< bool > m_stoprequest
std::map< unsigned int, unsigned int > sourceEventsReport_
std::unique_ptr< FastMonitor > jsonMonitor_
void postGlobalBeginRun(edm::GlobalContext const &)
void preEvent(edm::StreamContext const &)
bool isGlobalLumiTransition_
void preModuleEvent(edm::StreamContext const &, edm::ModuleCallingContext const &)
std::vector< const void * > ministate_
const void * decode(unsigned int index)
std::vector< Encoding > encPath_
edm::ModuleDescription * dummiesForReserved_
FastMonitoringService(const edm::ParameterSet &, edm::ActivityRegistry &)
void fillReserved(void *add, unsigned int i)
std::string makeModuleLegenda()