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
150  };
151  } // namespace FastMonState
152 
154  public:
155  // the names of the states - some of them are never reached in an online app
159  // Reserved names for microstates
160  static const std::string nopath_;
162  ~FastMonitoringService() override;
163  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
164 
168 
170  void jobFailure();
172 
174  void postBeginJob();
175  void postEndJob();
176 
181 
186  void prePathEvent(edm::StreamContext const&, edm::PathContext const&);
187  void preEvent(edm::StreamContext const&);
188  void postEvent(edm::StreamContext const&);
198  void setExceptionDetected(unsigned int ls);
199 
200  //this is still needed for use in special functions like DQM which are in turn framework services
203 
204  void accumulateFileSize(unsigned int lumi, unsigned long fileSize);
205  void startedLookingForFile();
206  void stoppedLookingForFile(unsigned int lumi);
207  void reportLockWait(unsigned int ls, double waitTime, unsigned int lockCount);
208  unsigned int getEventsProcessedForLumi(unsigned int lumi, bool* abortFlag = nullptr);
209  bool getAbortFlagForLumi(unsigned int lumi);
210  bool shouldWriteFiles(unsigned int lumi, unsigned int* proc = nullptr) {
211  unsigned int processed = getEventsProcessedForLumi(lumi);
212  if (proc)
213  *proc = processed;
214  return !getAbortFlagForLumi(lumi);
215  }
216  std::string getRunDirName() const { return runDirectory_.stem().string(); }
217  void setInputSource(FedRawDataInputSource* inputSource) { inputSource_ = inputSource; }
218  void setInState(FastMonState::InputState inputState) { inputState_ = inputState; }
220 
221  private:
222  void doSnapshot(const unsigned int ls, const bool isGlobalEOL);
223 
224  void snapshotRunner();
225 
226  //the actual monitoring thread is held by a separate class object for ease of maintenance
227  std::shared_ptr<FastMonitoringThread> fmt_;
228  //Encoding encModule_;
229  //std::vector<Encoding> encPath_;
231  std::atomic<FastMonState::InputState> inputState_{FastMonState::InputState::inInit};
232  std::atomic<FastMonState::InputState> inputSupervisorState_{FastMonState::InputState::inInit};
233 
234  unsigned int nStreams_;
235  unsigned int nThreads_;
237  unsigned int fastMonIntervals_;
238  unsigned int snapCounter_ = 0;
242 
243  //variables that are used by/monitored by FastMonitoringThread / FastMonitor
244 
245  std::map<unsigned int, timeval> lumiStartTime_; //needed for multiplexed begin/end lumis
246  timeval fileLookStart_, fileLookStop_; //this could also be calculated in the input source
247 
248  unsigned int lastGlobalLumi_;
249  std::atomic<bool> isInitTransition_;
250  unsigned int lumiFromSource_;
251 
252  //variables measuring source statistics (global)
253  //unordered_map is not used because of very few elements stored concurrently
254  std::map<unsigned int, double> avgLeadTime_;
255  std::map<unsigned int, unsigned int> filesProcessedDuringLumi_;
256  //helpers for source statistics:
257  std::map<unsigned int, unsigned long> accuSize_;
258  std::vector<double> leadTimes_;
259  std::map<unsigned int, std::pair<double, unsigned int>> lockStatsDuringLumi_;
260 
261  //for output module
262  std::map<unsigned int, std::pair<unsigned int, bool>> processedEventsPerLumi_;
263 
264  //flag used to block EOL until event count is picked up by caches (not certain that this is really an issue)
265  //to disable this behavior, set #ATOMIC_LEVEL 0 or 1 in DataPoint.h
266  std::vector<std::atomic<bool>*> streamCounterUpdating_;
267 
268  std::vector<std::atomic<bool>*> collectedPathList_;
269  std::vector<bool> pathNamesReady_;
270 
272 
273  bool threadIDAvailable_ = false;
274 
275  std::atomic<unsigned long> totalEventsProcessed_;
276 
282  unsigned int nOutputModules_ = 0;
283 
284  std::atomic<bool> monInit_;
285  bool exception_detected_ = false;
286  std::vector<unsigned int> exceptionInLS_;
287  std::vector<std::string> fastPathList_;
288  };
289 
290 } // namespace evf
291 
292 #endif
evf::FastMonitoringService::workingDirectory_
std::filesystem::path workingDirectory_
Definition: FastMonitoringService.h:271
evf::FastMonitoringService::preGlobalEndLumi
void preGlobalEndLumi(edm::GlobalContext const &)
Definition: FastMonitoringService.cc:480
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:285
evf::FastMonitoringService::lockStatsDuringLumi_
std::map< unsigned int, std::pair< double, unsigned int > > lockStatsDuringLumi_
Definition: FastMonitoringService.h:259
evf::FastMonitoringService::preStreamEndLumi
void preStreamEndLumi(edm::StreamContext const &)
Definition: FastMonitoringService.cc:592
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:237
evf::FastMonitoringService::runDirectory_
std::filesystem::path runDirectory_
Definition: FastMonitoringService.h:271
evf::FastMonitoringService::shouldWriteFiles
bool shouldWriteFiles(unsigned int lumi, unsigned int *proc=nullptr)
Definition: FastMonitoringService.h:210
evf::FastMonState::inWaitChunk
Definition: FastMonitoringService.h:92
evf::FastMonitoringService::doSnapshot
void doSnapshot(const unsigned int ls, const bool isGlobalEOL)
Definition: FastMonitoringService.cc:815
evf::FastMonitoringService::getRunDirName
std::string getRunDirName() const
Definition: FastMonitoringService.h:216
evf::FastMonState::inNoRequestWithIdleThreads
Definition: FastMonitoringService.h:99
evf::FastMonitoringService::preSourceEvent
void preSourceEvent(edm::StreamID)
Definition: FastMonitoringService.cc:625
evf::FastMonState::inChunkReceived
Definition: FastMonitoringService.h:93
evf::FastMonitoringService::getEventsProcessedForLumi
unsigned int getEventsProcessedForLumi(unsigned int lumi, bool *abortFlag=nullptr)
Definition: FastMonitoringService.cc:724
evf::FastMonitoringService::processedEventsPerLumi_
std::map< unsigned int, std::pair< unsigned int, bool > > processedEventsPerLumi_
Definition: FastMonitoringService.h:262
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:281
evf::FastMonitoringService::collectedPathList_
std::vector< std::atomic< bool > * > collectedPathList_
Definition: FastMonitoringService.h:268
evf::FastMonitoringService::reservedMicroStateNames
static const edm::ModuleDescription reservedMicroStateNames[FastMonState::mCOUNT]
Definition: FastMonitoringService.h:156
evf::FastMonState::inInit
Definition: FastMonitoringService.h:85
evf::FastMonitoringService::moduleLegendFileJson_
std::string moduleLegendFileJson_
Definition: FastMonitoringService.h:278
evf::FastMonState::inWaitChunk_noFile
Definition: FastMonitoringService.h:143
evf::FastMonitoringService::fastPath_
std::string fastPath_
Definition: FastMonitoringService.h:240
evf::FastMonitoringService::preSourceEarlyTermination
void preSourceEarlyTermination(edm::TerminationOrigin)
Definition: FastMonitoringService.cc:403
evf::FastMonState::sRunning
Definition: FastMonitoringService.h:71
evf::FastMonitoringService::exceptionInLS_
std::vector< unsigned int > exceptionInLS_
Definition: FastMonitoringService.h:286
evf::FastMonitoringService::postBeginJob
void postBeginJob()
Definition: FastMonitoringService.cc:442
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:217
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:157
evf::FastMonState::inWaitChunk_runEnd
Definition: FastMonitoringService.h:142
evf::FastMonitoringService::nThreads_
unsigned int nThreads_
Definition: FastMonitoringService.h:235
evf::FastMonitoringService::FastMonitoringService
FastMonitoringService(const edm::ParameterSet &, edm::ActivityRegistry &)
Definition: FastMonitoringService.cc:123
evf::FastMonState::inWaitInput_noFile
Definition: FastMonitoringService.h:127
evf::FastMonitoringService::nStreams_
unsigned int nStreams_
Definition: FastMonitoringService.h:234
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:668
ActivityRegistry.h
evf::FastMonState::mDqm
Definition: FastMonitoringService.h:60
evf::FastMonState::inWaitInput_waitFreeChunk
Definition: FastMonitoringService.h:119
evf::FastMonState::inWaitChunk_fileLimit
Definition: FastMonitoringService.h:134
evf::FastMonitoringService
Definition: FastMonitoringService.h:153
evf::FastMonState::sErrorEnded
Definition: FastMonitoringService.h:77
evf::FastMonState::inReadCleanup
Definition: FastMonitoringService.h:97
evf::FastMonitoringService::inputSource_
FedRawDataInputSource * inputSource_
Definition: FastMonitoringService.h:230
evf::FastMonitoringService::postStreamBeginLumi
void postStreamBeginLumi(edm::StreamContext const &)
Definition: FastMonitoringService.cc:588
evf::FastMonState::inNoRequestWithEoLThreads
Definition: FastMonitoringService.h:101
evf::FastMonitoringService::fastPathList_
std::vector< std::string > fastPathList_
Definition: FastMonitoringService.h:287
evf::FastMonState::inWaitChunk_waitFreeChunkCopying
Definition: FastMonitoringService.h:136
evf::FastMonitoringService::fastName_
std::string fastName_
Definition: FastMonitoringService.h:240
edm::StreamContext
Definition: StreamContext.h:31
evf::FastMonitoringService::lumiStartTime_
std::map< unsigned int, timeval > lumiStartTime_
Definition: FastMonitoringService.h:245
evf::FastMonitoringService::preGlobalBeginLumi
void preGlobalBeginLumi(edm::GlobalContext const &)
Definition: FastMonitoringService.cc:470
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:246
edm::ActivityRegistry
Definition: ActivityRegistry.h:134
evf::FastMonitoringService::preStreamBeginLumi
void preStreamBeginLumi(edm::StreamContext const &)
Definition: FastMonitoringService.cc:575
evf::FastMonitoringService::postModuleEvent
void postModuleEvent(edm::StreamContext const &, edm::ModuleCallingContext const &)
Definition: FastMonitoringService.cc:649
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:638
evf::FastMonState::inWaitChunk_newFileWaitChunk
Definition: FastMonitoringService.h:148
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
evf::FastMonitoringService::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: FastMonitoringService.cc:186
evf::FastMonitoringService::postGlobalEndLumi
void postGlobalEndLumi(edm::GlobalContext const &)
Definition: FastMonitoringService.cc:563
evf::FastMonitoringService::getAbortFlagForLumi
bool getAbortFlagForLumi(unsigned int lumi)
Definition: FastMonitoringService.cc:742
evf::FastMonState::inSupNewFile
Definition: FastMonitoringService.h:112
evf::FastMonitoringService::~FastMonitoringService
~FastMonitoringService() override
Definition: FastMonitoringService.cc:184
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:266
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:644
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:250
evf::FastMonState::inWaitChunk_waitFreeThread
Definition: FastMonitoringService.h:137
evf::FastMonitoringService::pathLegendFile_
std::string pathLegendFile_
Definition: FastMonitoringService.h:279
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:254
evf::FastMonitoringService::postSourceEvent
void postSourceEvent(edm::StreamID)
Definition: FastMonitoringService.cc:629
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:284
evf::FastMonitoringService::setMicroState
void setMicroState(FastMonState::Microstate)
Definition: FastMonitoringService.cc:657
evf::FastMonState::inSupWaitFreeChunk
Definition: FastMonitoringService.h:104
evf::FastMonitoringService::preModuleBeginJob
void preModuleBeginJob(edm::ModuleDescription const &)
Definition: FastMonitoringService.cc:427
evf::FastMonState::inWaitInput_newFileWaitThread
Definition: FastMonitoringService.h:130
evf::FastMonitoringService::lastGlobalLumi_
unsigned int lastGlobalLumi_
Definition: FastMonitoringService.h:248
evf::FastMonitoringService::jobFailure
void jobFailure()
Definition: FastMonitoringService.cc:424
evf::FastMonitoringService::prePathEvent
void prePathEvent(edm::StreamContext const &, edm::PathContext const &)
Definition: FastMonitoringService.cc:607
evf::FastMonitoringService::nOutputModules_
unsigned int nOutputModules_
Definition: FastMonitoringService.h:282
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:231
evf::FastMonitoringService::slowName_
std::string slowName_
Definition: FastMonitoringService.h:240
evf::FastMonitoringService::postGlobalBeginRun
void postGlobalBeginRun(edm::GlobalContext const &)
Definition: FastMonitoringService.cc:465
evf::FastMonitoringService::preEvent
void preEvent(edm::StreamContext const &)
Definition: FastMonitoringService.cc:611
evf::FastMonitoringService::reportLockWait
void reportLockWait(unsigned int ls, double waitTime, unsigned int lockCount)
Definition: FastMonitoringService.cc:718
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:613
evf::FastMonState::inSupNoFile
Definition: FastMonitoringService.h:111
evf::FastMonState::sJobEnded
Definition: FastMonitoringService.h:75
evf::FastMonitoringService::isInitTransition_
std::atomic< bool > isInitTransition_
Definition: FastMonitoringService.h:249
evf::FastMonitoringService::inputSupervisorState_
std::atomic< FastMonState::InputState > inputSupervisorState_
Definition: FastMonitoringService.h:232
evf::FastMonitoringService::fmt_
std::shared_ptr< FastMonitoringThread > fmt_
Definition: FastMonitoringService.h:227
evf::FastMonitoringService::setInState
void setInState(FastMonState::InputState inputState)
Definition: FastMonitoringService.h:218
evf::FastMonitoringService::nopath_
static const std::string nopath_
Definition: FastMonitoringService.h:160
evf::FastMonitoringService::fileLookStop_
timeval fileLookStop_
Definition: FastMonitoringService.h:246
evf::FastMonState::inWaitInput_newFileWaitChunk
Definition: FastMonitoringService.h:132
evf::FastMonitoringService::makeInputLegendaJson
std::string makeInputLegendaJson()
Definition: FastMonitoringService.cc:231
ConfigurationDescriptions
evf::FastMonitoringService::preGlobalEarlyTermination
void preGlobalEarlyTermination(edm::GlobalContext const &, edm::TerminationOrigin)
Definition: FastMonitoringService.cc:388
evf::FastMonitoringService::inputStateNames
static const std::string inputStateNames[FastMonState::inCOUNT]
Definition: FastMonitoringService.h:158
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:257
evf::FastMonitoringService::makePathLegendaJson
std::string makePathLegendaJson()
Definition: FastMonitoringService.cc:198
evf::FastMonState::inProcessingFile
Definition: FastMonitoringService.h:91
evf::FastMonitoringService::threadIDAvailable_
bool threadIDAvailable_
Definition: FastMonitoringService.h:273
evf
Definition: fillJson.h:27
evf::FastMonitoringService::filePerFwkStream_
bool filePerFwkStream_
Definition: FastMonitoringService.h:241
evf::FastMonitoringService::startedLookingForFile
void startedLookingForFile()
Definition: FastMonitoringService.cc:682
evf::FastMonState::inCachedEvent
Definition: FastMonitoringService.h:95
evf::FastMonState::inSupNewFileWaitThreadCopying
Definition: FastMonitoringService.h:113
evf::FastMonitoringService::makeModuleLegendaJson
std::string makeModuleLegendaJson()
Definition: FastMonitoringService.cc:210
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:241
evf::FastMonState::inCOUNT
Definition: FastMonitoringService.h:149
evf::FastMonitoringService::setExceptionDetected
void setExceptionDetected(unsigned int ls)
Definition: FastMonitoringService.cc:417
evf::FastMonState::inRunEnd
Definition: FastMonitoringService.h:90
evf::FastMonitoringService::pathLegendFileJson_
std::string pathLegendFileJson_
Definition: FastMonitoringService.h:280
evf::FastMonitoringService::totalEventsProcessed_
std::atomic< unsigned long > totalEventsProcessed_
Definition: FastMonitoringService.h:275
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:239
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:258
ParameterSet.h
evf::FastMonitoringService::microstateDefPath_
std::string microstateDefPath_
Definition: FastMonitoringService.h:239
evf::FastMonitoringService::moduleLegendFile_
std::string moduleLegendFile_
Definition: FastMonitoringService.h:277
evf::FastMonitoringService::postStreamEndLumi
void postStreamEndLumi(edm::StreamContext const &)
Definition: FastMonitoringService.cc:603
evf::FastMonitoringService::filesProcessedDuringLumi_
std::map< unsigned int, unsigned int > filesProcessedDuringLumi_
Definition: FastMonitoringService.h:255
evf::FastMonitoringService::preStreamEarlyTermination
void preStreamEarlyTermination(edm::StreamContext const &, edm::TerminationOrigin)
Definition: FastMonitoringService.cc:373
evf::FastMonitoringService::snapCounter_
unsigned int snapCounter_
Definition: FastMonitoringService.h:238
evf::FastMonitoringService::stoppedLookingForFile
void stoppedLookingForFile(unsigned int lumi)
Definition: FastMonitoringService.cc:690
evf::FastMonitoringService::postEndJob
void postEndJob()
Definition: FastMonitoringService.cc:460
evf::FastMonitoringService::preBeginJob
void preBeginJob(edm::PathsAndConsumesOfModulesBase const &, edm::ProcessContext const &pc)
Definition: FastMonitoringService.cc:251
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:219
evf::FastMonitoringService::preModuleEventAcquire
void preModuleEventAcquire(edm::StreamContext const &, edm::ModuleCallingContext const &)
Definition: FastMonitoringService.cc:633
evf::FastMonitoringService::snapshotRunner
void snapshotRunner()
Definition: FastMonitoringService.cc:758
evf::MicroStateService
Definition: MicroStateService.h:13
evf::FastMonitoringService::sleepTime_
int sleepTime_
Definition: FastMonitoringService.h:236
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:269
evf::FastMonState::InputState
InputState
Definition: FastMonitoringService.h:83
evf::FastMonState::sDone
Definition: FastMonitoringService.h:74