CMS 3D CMS Logo

FastMonitoringService.h
Go to the documentation of this file.
1 #ifndef EvFFastMonitoringService_H
2 #define EvFFastMonitoringService_H 1
3 
12 
13 #include <filesystem>
14 
16 
17 #include <string>
18 #include <vector>
19 #include <map>
20 #include <queue>
21 #include <sstream>
22 #include <unordered_map>
23 
24 /*Description
25  this is an evolution of the MicroStateService intended to be run in standalone multi-threaded cmsRun jobs
26  A legenda for use by the monitoring process in the DAQ needs to be generated at beginJob (when first available).
27  We try to spare CPU time in the monitoring by avoiding even a single string lookup and using the
28  moduledesc pointer to key into the map instead and no string or string pointers are used for the microstates.
29  Only a pointer value is stored using relaxed ordering at the time of module execution which is fast.
30  At snapshot time only (every few seconds) we do the map lookup to produce snapshot.
31  Path names use a similar logic. However path names are not accessible in the same way as later so they need to be
32  when starting to run associated to the memory location of path name strings as accessible when path is executed.
33  Path intermediate info will be called "ministate" :D
34  The general counters and status variables (event number, number of processed events, number of passed and stored
35  events, luminosity section etc.) are also monitored here.
36 
37  N.B. MicroStateService is referenced by a common base class which is now trivial.
38  It's complete removal will be completed in the future commit.
39 */
40 
42 
43 namespace edm {
45 }
46 
47 namespace evf {
48 
49  class FastMonitoringThread;
50 
51  namespace FastMonState {
52 
53  enum Microstate {
54  mInvalid = 0,
65  };
66 
67  enum Macrostate {
68  sInit = 0,
81  };
82 
83  enum InputState : short {
84  inIgnore = 0,
102  //supervisor thread and worker threads state
117  //combined with inWaitInput
133  //combined with inWaitChunk
152  };
153  } // namespace FastMonState
154 
156  public:
157  // the names of the states - some of them are never reached in an online app
161  // Reserved names for microstates
162  static const std::string nopath_;
164  ~FastMonitoringService() override;
165  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
166 
170 
172  void jobFailure();
174 
176  void postBeginJob();
177  void postEndJob();
178 
183 
188  void prePathEvent(edm::StreamContext const&, edm::PathContext const&);
189  void preEvent(edm::StreamContext const&);
190  void postEvent(edm::StreamContext const&);
200  void setExceptionDetected(unsigned int ls);
201 
202  //this is still needed for use in special functions like DQM which are in turn framework services
205 
206  void accumulateFileSize(unsigned int lumi, unsigned long fileSize);
207  void startedLookingForFile();
208  void stoppedLookingForFile(unsigned int lumi);
209  void reportLockWait(unsigned int ls, double waitTime, unsigned int lockCount);
210  unsigned int getEventsProcessedForLumi(unsigned int lumi, bool* abortFlag = nullptr);
211  bool getAbortFlagForLumi(unsigned int lumi);
212  bool shouldWriteFiles(unsigned int lumi, unsigned int* proc = nullptr) {
213  unsigned int processed = getEventsProcessedForLumi(lumi);
214  if (proc)
215  *proc = processed;
216  return !getAbortFlagForLumi(lumi);
217  }
218  std::string getRunDirName() const { return runDirectory_.stem().string(); }
219  void setInputSource(FedRawDataInputSource* inputSource) { inputSource_ = inputSource; }
220  void setInState(FastMonState::InputState inputState) { inputState_ = inputState; }
222 
223  private:
224  void doSnapshot(const unsigned int ls, const bool isGlobalEOL);
225 
226  void snapshotRunner();
227 
228  //the actual monitoring thread is held by a separate class object for ease of maintenance
229  std::shared_ptr<FastMonitoringThread> fmt_;
230  //Encoding encModule_;
231  //std::vector<Encoding> encPath_;
233  std::atomic<FastMonState::InputState> inputState_{FastMonState::InputState::inInit};
234  std::atomic<FastMonState::InputState> inputSupervisorState_{FastMonState::InputState::inInit};
235 
236  unsigned int nStreams_;
237  unsigned int nThreads_;
239  unsigned int fastMonIntervals_;
240  unsigned int snapCounter_ = 0;
244 
245  //variables that are used by/monitored by FastMonitoringThread / FastMonitor
246 
247  std::map<unsigned int, timeval> lumiStartTime_; //needed for multiplexed begin/end lumis
248  timeval fileLookStart_, fileLookStop_; //this could also be calculated in the input source
249 
250  unsigned int lastGlobalLumi_;
251  std::atomic<bool> isInitTransition_;
252  unsigned int lumiFromSource_;
253 
254  //variables measuring source statistics (global)
255  //unordered_map is not used because of very few elements stored concurrently
256  std::map<unsigned int, double> avgLeadTime_;
257  std::map<unsigned int, unsigned int> filesProcessedDuringLumi_;
258  //helpers for source statistics:
259  std::map<unsigned int, unsigned long> accuSize_;
260  std::vector<double> leadTimes_;
261  std::map<unsigned int, std::pair<double, unsigned int>> lockStatsDuringLumi_;
262 
263  //for output module
264  std::map<unsigned int, std::pair<unsigned int, bool>> processedEventsPerLumi_;
265 
266  //flag used to block EOL until event count is picked up by caches (not certain that this is really an issue)
267  //to disable this behavior, set #ATOMIC_LEVEL 0 or 1 in DataPoint.h
268  std::vector<std::atomic<bool>*> streamCounterUpdating_;
269 
270  std::vector<std::atomic<bool>*> collectedPathList_;
271  std::vector<bool> pathNamesReady_;
272 
274 
275  bool threadIDAvailable_ = false;
276 
277  std::atomic<unsigned long> totalEventsProcessed_;
278 
284  unsigned int nOutputModules_ = 0;
285 
286  std::atomic<bool> monInit_;
287  bool exception_detected_ = false;
288  std::vector<unsigned int> exceptionInLS_;
289  std::vector<std::string> fastPathList_;
290  };
291 
292 } // namespace evf
293 
294 #endif
evf::FastMonitoringService::workingDirectory_
std::filesystem::path workingDirectory_
Definition: FastMonitoringService.h:273
evf::FastMonitoringService::preGlobalEndLumi
void preGlobalEndLumi(edm::GlobalContext const &)
Definition: FastMonitoringService.cc:482
edm::StreamID
Definition: StreamID.h:30
evf::FastMonState::inSupWaitFreeThreadCopying
Definition: FastMonitoringService.h:107
eostools.ls
def ls(path, rec=False)
Definition: eostools.py:349
evf::FastMonState::inWaitChunk_lockPolling
Definition: FastMonitoringService.h:140
evf::FastMonitoringService::exception_detected_
bool exception_detected_
Definition: FastMonitoringService.h:287
evf::FastMonitoringService::lockStatsDuringLumi_
std::map< unsigned int, std::pair< double, unsigned int > > lockStatsDuringLumi_
Definition: FastMonitoringService.h:261
evf::FastMonitoringService::preStreamEndLumi
void preStreamEndLumi(edm::StreamContext const &)
Definition: FastMonitoringService.cc:594
MessageLogger.h
evf::FastMonState::inSupNewFileWaitChunkCopying
Definition: FastMonitoringService.h:115
evf::FastMonState::inNewLumiIdleEndingLS
Definition: FastMonitoringService.h:89
evf::FastMonitoringService::fastMonIntervals_
unsigned int fastMonIntervals_
Definition: FastMonitoringService.h:239
evf::FastMonitoringService::runDirectory_
std::filesystem::path runDirectory_
Definition: FastMonitoringService.h:273
evf::FastMonitoringService::shouldWriteFiles
bool shouldWriteFiles(unsigned int lumi, unsigned int *proc=nullptr)
Definition: FastMonitoringService.h:212
evf::FastMonState::inWaitChunk
Definition: FastMonitoringService.h:92
evf::FastMonitoringService::doSnapshot
void doSnapshot(const unsigned int ls, const bool isGlobalEOL)
Definition: FastMonitoringService.cc:817
evf::FastMonitoringService::getRunDirName
std::string getRunDirName() const
Definition: FastMonitoringService.h:218
evf::FastMonState::inSupThrottled
Definition: FastMonitoringService.h:149
evf::FastMonState::inNoRequestWithIdleThreads
Definition: FastMonitoringService.h:99
evf::FastMonitoringService::preSourceEvent
void preSourceEvent(edm::StreamID)
Definition: FastMonitoringService.cc:627
evf::FastMonState::inChunkReceived
Definition: FastMonitoringService.h:93
evf::FastMonitoringService::getEventsProcessedForLumi
unsigned int getEventsProcessedForLumi(unsigned int lumi, bool *abortFlag=nullptr)
Definition: FastMonitoringService.cc:726
evf::FastMonitoringService::processedEventsPerLumi_
std::map< unsigned int, std::pair< unsigned int, bool > > processedEventsPerLumi_
Definition: FastMonitoringService.h:264
evf::FastMonState::inSupNewFileWaitThread
Definition: FastMonitoringService.h:114
edm
HLT enums.
Definition: AlignableModifier.h:19
edm::ProcessContext
Definition: ProcessContext.h:27
evf::FastMonState::inNoRequest
Definition: FastMonitoringService.h:98
evf::FastMonState::inSupNewFileWaitChunk
Definition: FastMonitoringService.h:116
evf::FastMonitoringService::inputLegendFileJson_
std::string inputLegendFileJson_
Definition: FastMonitoringService.h:283
evf::FastMonitoringService::collectedPathList_
std::vector< std::atomic< bool > * > collectedPathList_
Definition: FastMonitoringService.h:270
evf::FastMonitoringService::reservedMicroStateNames
static const edm::ModuleDescription reservedMicroStateNames[FastMonState::mCOUNT]
Definition: FastMonitoringService.h:158
evf::FastMonState::inInit
Definition: FastMonitoringService.h:85
evf::FastMonitoringService::moduleLegendFileJson_
std::string moduleLegendFileJson_
Definition: FastMonitoringService.h:280
evf::FastMonState::inWaitChunk_noFile
Definition: FastMonitoringService.h:143
evf::FastMonitoringService::fastPath_
std::string fastPath_
Definition: FastMonitoringService.h:242
evf::FastMonitoringService::preSourceEarlyTermination
void preSourceEarlyTermination(edm::TerminationOrigin)
Definition: FastMonitoringService.cc:405
evf::FastMonState::sRunning
Definition: FastMonitoringService.h:71
evf::FastMonitoringService::exceptionInLS_
std::vector< unsigned int > exceptionInLS_
Definition: FastMonitoringService.h:288
evf::FastMonitoringService::postBeginJob
void postBeginJob()
Definition: FastMonitoringService.cc:444
evf::FastMonState::inWaitInput_lockPollingCopying
Definition: FastMonitoringService.h:125
evf::FastMonState::inWaitChunk_newFileWaitThreadCopying
Definition: FastMonitoringService.h:145
LuminosityBlockID.h
evf::FastMonState::inSupWaitFreeThread
Definition: FastMonitoringService.h:106
evf::FastMonState::sError
Definition: FastMonitoringService.h:76
evf::FastMonitoringService::setInputSource
void setInputSource(FedRawDataInputSource *inputSource)
Definition: FastMonitoringService.h:219
edm::ModuleDescription
Definition: ModuleDescription.h:21
evf::FastMonState::sJobReady
Definition: FastMonitoringService.h:69
evf::FastMonitoringService::macroStateNames
static const std::string macroStateNames[FastMonState::MCOUNT]
Definition: FastMonitoringService.h:159
evf::FastMonState::inWaitChunk_runEnd
Definition: FastMonitoringService.h:142
evf::FastMonitoringService::nThreads_
unsigned int nThreads_
Definition: FastMonitoringService.h:237
evf::FastMonitoringService::FastMonitoringService
FastMonitoringService(const edm::ParameterSet &, edm::ActivityRegistry &)
Definition: FastMonitoringService.cc:125
evf::FastMonState::inWaitInput_noFile
Definition: FastMonitoringService.h:127
evf::FastMonitoringService::nStreams_
unsigned int nStreams_
Definition: FastMonitoringService.h:236
evf::FastMonState::mFwkEoL
Definition: FastMonitoringService.h:58
evf::FastMonState::inWaitInput_lockPolling
Definition: FastMonitoringService.h:124
ModuleDescription.h
evf::FastMonitoringService::accumulateFileSize
void accumulateFileSize(unsigned int lumi, unsigned long fileSize)
Definition: FastMonitoringService.cc:670
ActivityRegistry.h
evf::FastMonState::mDqm
Definition: FastMonitoringService.h:60
evf::FastMonState::inThrottled
Definition: FastMonitoringService.h:150
evf::FastMonState::inWaitInput_waitFreeChunk
Definition: FastMonitoringService.h:119
evf::FastMonState::inWaitChunk_fileLimit
Definition: FastMonitoringService.h:134
evf::FastMonitoringService
Definition: FastMonitoringService.h:155
evf::FastMonState::sErrorEnded
Definition: FastMonitoringService.h:77
evf::FastMonState::inReadCleanup
Definition: FastMonitoringService.h:97
evf::FastMonitoringService::inputSource_
FedRawDataInputSource * inputSource_
Definition: FastMonitoringService.h:232
evf::FastMonitoringService::postStreamBeginLumi
void postStreamBeginLumi(edm::StreamContext const &)
Definition: FastMonitoringService.cc:590
evf::FastMonState::inNoRequestWithEoLThreads
Definition: FastMonitoringService.h:101
evf::FastMonitoringService::fastPathList_
std::vector< std::string > fastPathList_
Definition: FastMonitoringService.h:289
evf::FastMonState::inWaitChunk_waitFreeChunkCopying
Definition: FastMonitoringService.h:136
evf::FastMonitoringService::fastName_
std::string fastName_
Definition: FastMonitoringService.h:242
edm::StreamContext
Definition: StreamContext.h:31
evf::FastMonitoringService::lumiStartTime_
std::map< unsigned int, timeval > lumiStartTime_
Definition: FastMonitoringService.h:247
evf::FastMonitoringService::preGlobalBeginLumi
void preGlobalBeginLumi(edm::GlobalContext const &)
Definition: FastMonitoringService.cc:472
evf::FastMonState::inWaitInput
Definition: FastMonitoringService.h:86
evf::FastMonState::inNewLumi
Definition: FastMonitoringService.h:87
evf::FastMonState::inWaitChunk_lockPollingCopying
Definition: FastMonitoringService.h:141
evf::FastMonState::mCOUNT
Definition: FastMonitoringService.h:64
evf::FastMonState::inWaitInput_busy
Definition: FastMonitoringService.h:123
EventID.h
evf::FastMonitoringService::fileLookStart_
timeval fileLookStart_
Definition: FastMonitoringService.h:248
edm::ActivityRegistry
Definition: ActivityRegistry.h:134
evf::FastMonitoringService::preStreamBeginLumi
void preStreamBeginLumi(edm::StreamContext const &)
Definition: FastMonitoringService.cc:577
evf::FastMonitoringService::postModuleEvent
void postModuleEvent(edm::StreamContext const &, edm::ModuleCallingContext const &)
Definition: FastMonitoringService.cc:651
evf::FastMonState::inSupFileLimit
Definition: FastMonitoringService.h:103
evf::FastMonState::inChecksumEvent
Definition: FastMonitoringService.h:94
FedRawDataInputSource
Definition: FedRawDataInputSource.h:40
evf::FastMonState::inWaitInput_fileLimit
Definition: FastMonitoringService.h:118
evf::FastMonState::inSupBusy
Definition: FastMonitoringService.h:108
evf::FastMonState::inWaitInput_runEnd
Definition: FastMonitoringService.h:126
evf::FastMonState::inWaitInput_waitFreeChunkCopying
Definition: FastMonitoringService.h:120
evf::FastMonState::Microstate
Microstate
Definition: FastMonitoringService.h:53
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
evf::FastMonitoringService::postModuleEventAcquire
void postModuleEventAcquire(edm::StreamContext const &, edm::ModuleCallingContext const &)
Definition: FastMonitoringService.cc:640
evf::FastMonState::inWaitChunk_newFileWaitChunk
Definition: FastMonitoringService.h:148
evf::FastMonitoringService::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: FastMonitoringService.cc:188
evf::FastMonitoringService::postGlobalEndLumi
void postGlobalEndLumi(edm::GlobalContext const &)
Definition: FastMonitoringService.cc:565
evf::FastMonitoringService::getAbortFlagForLumi
bool getAbortFlagForLumi(unsigned int lumi)
Definition: FastMonitoringService.cc:744
evf::FastMonState::inSupNewFile
Definition: FastMonitoringService.h:112
evf::FastMonitoringService::~FastMonitoringService
~FastMonitoringService() override
Definition: FastMonitoringService.cc:186
edm::GlobalContext
Definition: GlobalContext.h:29
evf::FastMonState::sShuttingDown
Definition: FastMonitoringService.h:73
edm::service::SystemBounds
Definition: SystemBounds.h:29
evf::FastMonState::mEoL
Definition: FastMonitoringService.h:62
edm::ParameterSet
Definition: ParameterSet.h:47
ValidateTausOnZEEFastSim_cff.proc
proc
Definition: ValidateTausOnZEEFastSim_cff.py:6
evf::FastMonitoringService::streamCounterUpdating_
std::vector< std::atomic< bool > * > streamCounterUpdating_
Definition: FastMonitoringService.h:268
evf::FastMonState::inWaitChunk_busy
Definition: FastMonitoringService.h:139
evf::FastMonState::inSupLockPolling
Definition: FastMonitoringService.h:109
Timestamp.h
evf::FastMonitoringService::preModuleEvent
void preModuleEvent(edm::StreamContext const &, edm::ModuleCallingContext const &)
Definition: FastMonitoringService.cc:646
edm::PathContext
Definition: PathContext.h:24
evf::FastMonState::inReadEvent
Definition: FastMonitoringService.h:96
evf::FastMonState::inWaitChunk_waitFreeChunk
Definition: FastMonitoringService.h:135
evf::FastMonState::inWaitInput_waitFreeThread
Definition: FastMonitoringService.h:121
evf::FastMonitoringService::lumiFromSource_
unsigned int lumiFromSource_
Definition: FastMonitoringService.h:252
evf::FastMonState::inWaitChunk_waitFreeThread
Definition: FastMonitoringService.h:137
evf::FastMonitoringService::pathLegendFile_
std::string pathLegendFile_
Definition: FastMonitoringService.h:281
evf::FastMonState::MCOUNT
Definition: FastMonitoringService.h:80
evf::FastMonState::inNewLumiBusyEndingLS
Definition: FastMonitoringService.h:88
evf::FastMonState::sStopping
Definition: FastMonitoringService.h:72
evf::FastMonitoringService::avgLeadTime_
std::map< unsigned int, double > avgLeadTime_
Definition: FastMonitoringService.h:256
evf::FastMonitoringService::postSourceEvent
void postSourceEvent(edm::StreamID)
Definition: FastMonitoringService.cc:631
evf::FastMonState::mGlobEoL
Definition: FastMonitoringService.h:63
evf::FastMonState::inWaitInput_newFile
Definition: FastMonitoringService.h:128
TerminationOrigin
evf::FastMonitoringService::monInit_
std::atomic< bool > monInit_
Definition: FastMonitoringService.h:286
evf::FastMonitoringService::setMicroState
void setMicroState(FastMonState::Microstate)
Definition: FastMonitoringService.cc:659
evf::FastMonState::inSupWaitFreeChunk
Definition: FastMonitoringService.h:104
evf::FastMonitoringService::preModuleBeginJob
void preModuleBeginJob(edm::ModuleDescription const &)
Definition: FastMonitoringService.cc:429
evf::FastMonState::inWaitInput_newFileWaitThread
Definition: FastMonitoringService.h:130
evf::FastMonitoringService::lastGlobalLumi_
unsigned int lastGlobalLumi_
Definition: FastMonitoringService.h:250
evf::FastMonitoringService::jobFailure
void jobFailure()
Definition: FastMonitoringService.cc:426
evf::FastMonitoringService::prePathEvent
void prePathEvent(edm::StreamContext const &, edm::PathContext const &)
Definition: FastMonitoringService.cc:609
evf::FastMonitoringService::nOutputModules_
unsigned int nOutputModules_
Definition: FastMonitoringService.h:284
evf::FastMonState::mFwkOvhSrc
Definition: FastMonitoringService.h:56
evf::FastMonState::sRunGiven
Definition: FastMonitoringService.h:70
evf::FastMonitoringService::inputState_
std::atomic< FastMonState::InputState > inputState_
Definition: FastMonitoringService.h:233
evf::FastMonitoringService::slowName_
std::string slowName_
Definition: FastMonitoringService.h:242
evf::FastMonitoringService::postGlobalBeginRun
void postGlobalBeginRun(edm::GlobalContext const &)
Definition: FastMonitoringService.cc:467
evf::FastMonitoringService::preEvent
void preEvent(edm::StreamContext const &)
Definition: FastMonitoringService.cc:613
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
evf::FastMonitoringService::reportLockWait
void reportLockWait(unsigned int ls, double waitTime, unsigned int lockCount)
Definition: FastMonitoringService.cc:720
evf::FastMonState::Macrostate
Macrostate
Definition: FastMonitoringService.h:67
evf::FastMonState::inWaitChunk_waitFreeThreadCopying
Definition: FastMonitoringService.h:138
evf::FastMonitoringService::postEvent
void postEvent(edm::StreamContext const &)
Definition: FastMonitoringService.cc:615
evf::FastMonState::inSupNoFile
Definition: FastMonitoringService.h:111
evf::FastMonState::sJobEnded
Definition: FastMonitoringService.h:75
evf::FastMonitoringService::isInitTransition_
std::atomic< bool > isInitTransition_
Definition: FastMonitoringService.h:251
evf::FastMonitoringService::inputSupervisorState_
std::atomic< FastMonState::InputState > inputSupervisorState_
Definition: FastMonitoringService.h:234
evf::FastMonitoringService::fmt_
std::shared_ptr< FastMonitoringThread > fmt_
Definition: FastMonitoringService.h:229
evf::FastMonitoringService::setInState
void setInState(FastMonState::InputState inputState)
Definition: FastMonitoringService.h:220
evf::FastMonitoringService::nopath_
static const std::string nopath_
Definition: FastMonitoringService.h:162
evf::FastMonitoringService::fileLookStop_
timeval fileLookStop_
Definition: FastMonitoringService.h:248
evf::FastMonState::inWaitInput_newFileWaitChunk
Definition: FastMonitoringService.h:132
evf::FastMonitoringService::makeInputLegendaJson
std::string makeInputLegendaJson()
Definition: FastMonitoringService.cc:233
ConfigurationDescriptions
evf::FastMonitoringService::preGlobalEarlyTermination
void preGlobalEarlyTermination(edm::GlobalContext const &, edm::TerminationOrigin)
Definition: FastMonitoringService.cc:390
evf::FastMonitoringService::inputStateNames
static const std::string inputStateNames[FastMonState::inCOUNT]
Definition: FastMonitoringService.h:160
evf::FastMonState::inNoRequestWithGlobalEoL
Definition: FastMonitoringService.h:100
evf::FastMonState::mBoL
Definition: FastMonitoringService.h:61
edm::PathsAndConsumesOfModulesBase
Definition: PathsAndConsumesOfModulesBase.h:35
evf::FastMonitoringService::accuSize_
std::map< unsigned int, unsigned long > accuSize_
Definition: FastMonitoringService.h:259
evf::FastMonitoringService::makePathLegendaJson
std::string makePathLegendaJson()
Definition: FastMonitoringService.cc:200
evf::FastMonState::inProcessingFile
Definition: FastMonitoringService.h:91
evf::FastMonitoringService::threadIDAvailable_
bool threadIDAvailable_
Definition: FastMonitoringService.h:275
evf
Definition: fillJson.h:27
evf::FastMonitoringService::filePerFwkStream_
bool filePerFwkStream_
Definition: FastMonitoringService.h:243
evf::FastMonitoringService::startedLookingForFile
void startedLookingForFile()
Definition: FastMonitoringService.cc:684
evf::FastMonState::inCachedEvent
Definition: FastMonitoringService.h:95
evf::FastMonState::inSupNewFileWaitThreadCopying
Definition: FastMonitoringService.h:113
evf::FastMonitoringService::makeModuleLegendaJson
std::string makeModuleLegendaJson()
Definition: FastMonitoringService.cc:212
evf::FastMonState::sInvalid
Definition: FastMonitoringService.h:79
evf::FastMonState::mIdle
Definition: FastMonitoringService.h:55
evf::FastMonState::sInit
Definition: FastMonitoringService.h:68
evf::FastMonitoringService::preallocate
void preallocate(edm::service::SystemBounds const &)
Definition: FastMonitoringService.cc:243
evf::FastMonState::inCOUNT
Definition: FastMonitoringService.h:151
evf::FastMonitoringService::setExceptionDetected
void setExceptionDetected(unsigned int ls)
Definition: FastMonitoringService.cc:419
evf::FastMonState::inRunEnd
Definition: FastMonitoringService.h:90
evf::FastMonitoringService::pathLegendFileJson_
std::string pathLegendFileJson_
Definition: FastMonitoringService.h:282
evf::FastMonitoringService::totalEventsProcessed_
std::atomic< unsigned long > totalEventsProcessed_
Definition: FastMonitoringService.h:277
evf::FastMonState::inWaitChunk_newFile
Definition: FastMonitoringService.h:144
evf::FastMonState::mInvalid
Definition: FastMonitoringService.h:54
ParameterSetID.h
evf::FastMonState::inWaitChunk_newFileWaitThread
Definition: FastMonitoringService.h:146
evf::FastMonState::mFwkOvhMod
Definition: FastMonitoringService.h:57
evf::FastMonState::mInput
Definition: FastMonitoringService.h:59
castor_dqm_sourceclient_file_cfg.path
path
Definition: castor_dqm_sourceclient_file_cfg.py:37
evf::FastMonitoringService::fastMicrostateDefPath_
std::string fastMicrostateDefPath_
Definition: FastMonitoringService.h:241
evf::FastMonState::inSupWaitFreeChunkCopying
Definition: FastMonitoringService.h:105
evf::FastMonState::inWaitInput_newFileWaitChunkCopying
Definition: FastMonitoringService.h:131
evf::FastMonitoringService::leadTimes_
std::vector< double > leadTimes_
Definition: FastMonitoringService.h:260
ParameterSet.h
evf::FastMonitoringService::microstateDefPath_
std::string microstateDefPath_
Definition: FastMonitoringService.h:241
evf::FastMonitoringService::moduleLegendFile_
std::string moduleLegendFile_
Definition: FastMonitoringService.h:279
evf::FastMonitoringService::postStreamEndLumi
void postStreamEndLumi(edm::StreamContext const &)
Definition: FastMonitoringService.cc:605
evf::FastMonitoringService::filesProcessedDuringLumi_
std::map< unsigned int, unsigned int > filesProcessedDuringLumi_
Definition: FastMonitoringService.h:257
evf::FastMonitoringService::preStreamEarlyTermination
void preStreamEarlyTermination(edm::StreamContext const &, edm::TerminationOrigin)
Definition: FastMonitoringService.cc:375
evf::FastMonitoringService::snapCounter_
unsigned int snapCounter_
Definition: FastMonitoringService.h:240
evf::FastMonitoringService::stoppedLookingForFile
void stoppedLookingForFile(unsigned int lumi)
Definition: FastMonitoringService.cc:692
evf::FastMonitoringService::postEndJob
void postEndJob()
Definition: FastMonitoringService.cc:462
evf::FastMonitoringService::preBeginJob
void preBeginJob(edm::PathsAndConsumesOfModulesBase const &, edm::ProcessContext const &pc)
Definition: FastMonitoringService.cc:253
lumi
Definition: LumiSectionData.h:20
evf::FastMonState::inSupLockPollingCopying
Definition: FastMonitoringService.h:110
MicroStateService.h
evf::FastMonState::inWaitInput_waitFreeThreadCopying
Definition: FastMonitoringService.h:122
evf::FastMonitoringService::setInStateSup
void setInStateSup(FastMonState::InputState inputState)
Definition: FastMonitoringService.h:221
evf::FastMonitoringService::preModuleEventAcquire
void preModuleEventAcquire(edm::StreamContext const &, edm::ModuleCallingContext const &)
Definition: FastMonitoringService.cc:635
evf::FastMonitoringService::snapshotRunner
void snapshotRunner()
Definition: FastMonitoringService.cc:760
evf::MicroStateService
Definition: MicroStateService.h:13
evf::FastMonitoringService::sleepTime_
int sleepTime_
Definition: FastMonitoringService.h:238
evf::FastMonState::inIgnore
Definition: FastMonitoringService.h:84
evf::FastMonState::sEnd
Definition: FastMonitoringService.h:78
evf::FastMonState::inWaitInput_newFileWaitThreadCopying
Definition: FastMonitoringService.h:129
evf::FastMonState::inWaitChunk_newFileWaitChunkCopying
Definition: FastMonitoringService.h:147
edm::ModuleCallingContext
Definition: ModuleCallingContext.h:29
evf::FastMonitoringService::pathNamesReady_
std::vector< bool > pathNamesReady_
Definition: FastMonitoringService.h:271
evf::FastMonState::InputState
InputState
Definition: FastMonitoringService.h:83
evf::FastMonState::sDone
Definition: FastMonitoringService.h:74