CMS 3D CMS Logo

Tracer.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: Services
4 // Class : Tracer
5 //
6 // Implementation:
7 // <Notes on implementation>
8 //
9 // Original Author: Chris Jones
10 // Created: Thu Sep 8 14:17:58 EDT 2005
11 //
12 
17 
19 
22 
31 
37 
47 
48 #include "tracer_setupFile.h"
49 
50 #include <iostream>
51 #include <vector>
52 #include <string>
53 #include <set>
54 #include <optional>
55 
56 namespace edm {
57  namespace service {
58  class Tracer {
59  public:
61 
62  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
63 
65 
67  void postBeginJob();
68  void preEndJob();
69  void postEndJob();
70 
71  void preBeginStream(StreamContext const&);
72  void postBeginStream(StreamContext const&);
73  void preEndStream(StreamContext const&);
74  void postEndStream(StreamContext const&);
75 
78 
81 
82  void preSourceRun(RunIndex);
83  void postSourceRun(RunIndex);
84 
85  void preSourceProcessBlock();
87 
88  void preOpenFile(std::string const&);
89  void postOpenFile(std::string const&);
90 
91  void preCloseFile(std::string const& lfn);
92  void postCloseFile(std::string const&);
93 
96 
99 
100  void preBeginProcessBlock(GlobalContext const&);
102 
105 
106  void preEndProcessBlock(GlobalContext const&);
107  void postEndProcessBlock(GlobalContext const&);
108 
109  void preWriteProcessBlock(GlobalContext const&);
111 
112  void preGlobalBeginRun(GlobalContext const&);
113  void postGlobalBeginRun(GlobalContext const&);
114 
115  void preGlobalEndRun(GlobalContext const&);
116  void postGlobalEndRun(GlobalContext const&);
117 
118  void preGlobalWriteRun(GlobalContext const&);
119  void postGlobalWriteRun(GlobalContext const&);
120 
121  void preStreamBeginRun(StreamContext const&);
122  void postStreamBeginRun(StreamContext const&);
123 
124  void preStreamEndRun(StreamContext const&);
125  void postStreamEndRun(StreamContext const&);
126 
127  void preGlobalBeginLumi(GlobalContext const&);
128  void postGlobalBeginLumi(GlobalContext const&);
129 
130  void preGlobalEndLumi(GlobalContext const&);
131  void postGlobalEndLumi(GlobalContext const&);
132 
133  void preGlobalWriteLumi(GlobalContext const&);
134  void postGlobalWriteLumi(GlobalContext const&);
135 
136  void preStreamBeginLumi(StreamContext const&);
137  void postStreamBeginLumi(StreamContext const&);
138 
139  void preStreamEndLumi(StreamContext const&);
140  void postStreamEndLumi(StreamContext const&);
141 
142  void preEvent(StreamContext const&);
143  void postEvent(StreamContext const&);
144 
145  void prePathEvent(StreamContext const&, PathContext const&);
146  void postPathEvent(StreamContext const&, PathContext const&, HLTPathStatus const&);
147 
150 
151  void preModuleDestruction(ModuleDescription const& md);
153 
154  void preModuleBeginJob(ModuleDescription const& md);
155  void postModuleBeginJob(ModuleDescription const& md);
156 
157  void preModuleEndJob(ModuleDescription const& md);
158  void postModuleEndJob(ModuleDescription const& md);
159 
176 
179 
184 
189 
196 
199 
204 
209 
212 
215 
218 
221 
228 
229  private:
231  std::set<std::string> dumpContextForLabels_;
236  };
237  } // namespace service
238 } // namespace edm
239 
240 using namespace edm::service;
241 
242 namespace {
243 
244  class TimeStamper {
245  public:
246  TimeStamper(bool enable) : enabled_(enable) {}
247 
248  friend std::ostream& operator<<(std::ostream& out, TimeStamper const& timestamp) {
249  if (timestamp.enabled_)
250  out << std::setprecision(2) << edm::TimeOfDay() << " ";
251  return out;
252  }
253 
254  private:
255  bool enabled_;
256  };
257 
258 } // namespace
259 
261  : indention_(iPS.getUntrackedParameter<std::string>("indention")),
262  dumpContextForLabels_(),
263  dumpNonModuleContext_(iPS.getUntrackedParameter<bool>("dumpNonModuleContext")),
264  dumpPathsAndConsumes_(iPS.getUntrackedParameter<bool>("dumpPathsAndConsumes")),
265  printTimestamps_(iPS.getUntrackedParameter<bool>("printTimestamps")),
266  dumpEventSetupInfo_(iPS.getUntrackedParameter<bool>("dumpEventSetupInfo")) {
267  tracer::setupFile(iPS.getUntrackedParameter<std::string>("fileName"), iRegistry);
268 
269  if (not iPS.getUntrackedParameter<bool>("useMessageLogger"))
270  return;
271  for (std::string& label : iPS.getUntrackedParameter<std::vector<std::string>>("dumpContextForLabels"))
273 
274  iRegistry.watchPreallocate(this, &Tracer::preallocate);
275 
276  iRegistry.watchPreBeginJob(this, &Tracer::preBeginJob);
277  iRegistry.watchPostBeginJob(this, &Tracer::postBeginJob);
278  iRegistry.watchPreEndJob(this, &Tracer::preEndJob);
279  iRegistry.watchPostEndJob(this, &Tracer::postEndJob);
280 
283  iRegistry.watchPreEndStream(this, &Tracer::preEndStream);
284  iRegistry.watchPostEndStream(this, &Tracer::postEndStream);
285 
288 
289  iRegistry.watchPreSourceLumi(this, &Tracer::preSourceLumi);
291 
292  iRegistry.watchPreSourceRun(this, &Tracer::preSourceRun);
293  iRegistry.watchPostSourceRun(this, &Tracer::postSourceRun);
294 
297 
298  iRegistry.watchPreOpenFile(this, &Tracer::preOpenFile);
299  iRegistry.watchPostOpenFile(this, &Tracer::postOpenFile);
300 
301  iRegistry.watchPreCloseFile(this, &Tracer::preCloseFile);
302  iRegistry.watchPostCloseFile(this, &Tracer::postCloseFile);
303 
306 
309 
312 
315 
318 
321 
324 
327 
330 
333 
336 
339 
342 
345 
348 
351 
352  iRegistry.watchPreEvent(this, &Tracer::preEvent);
353  iRegistry.watchPostEvent(this, &Tracer::postEvent);
354 
355  iRegistry.watchPrePathEvent(this, &Tracer::prePathEvent);
356  iRegistry.watchPostPathEvent(this, &Tracer::postPathEvent);
357 
360 
363 
366 
369 
386 
389 
394 
399 
406 
409 
414 
419 
422 
425 
428 
431 
434  iRegistry.watchPreESModule(this, &Tracer::preESModule);
435  iRegistry.watchPostESModule(this, &Tracer::postESModule);
438 
440  LogAbsolute out("Tracer");
441  out << TimeStamper(printTimestamps_);
442  out << indention_ << indention_ << " early termination before processing transition";
443  });
445  [this](edm::StreamContext const& iContext, edm::TerminationOrigin iOrigin) {
446  LogAbsolute out("Tracer");
447  out << TimeStamper(printTimestamps_);
448  if (iContext.eventID().luminosityBlock() == 0) {
449  out << indention_ << indention_ << " early termination of run: stream = " << iContext.streamID()
450  << " run = " << iContext.eventID().run();
451  } else {
452  if (iContext.eventID().event() == 0) {
453  out << indention_ << indention_ << " early termination of stream lumi: stream = " << iContext.streamID()
454  << " run = " << iContext.eventID().run() << " lumi = " << iContext.eventID().luminosityBlock();
455  } else {
456  out << indention_ << indention_ << " early termination of event: stream = " << iContext.streamID()
457  << " run = " << iContext.eventID().run() << " lumi = " << iContext.eventID().luminosityBlock()
458  << " event = " << iContext.eventID().event();
459  }
460  }
461  out << " : time = " << iContext.timestamp().value();
462  });
464  [this](edm::GlobalContext const& iContext, edm::TerminationOrigin iOrigin) {
465  LogAbsolute out("Tracer");
466  out << TimeStamper(printTimestamps_);
467  if (iContext.luminosityBlockID().value() == 0) {
468  out << indention_ << indention_ << " early termination of global run " << iContext.luminosityBlockID().run();
469  } else {
471  << " early termination of global lumi run = " << iContext.luminosityBlockID().run()
472  << " lumi = " << iContext.luminosityBlockID().luminosityBlock();
473  }
474  out << " : time = " << iContext.timestamp().value();
475  });
476 
477  iRegistry.esSyncIOVQueuingSignal_.connect([this](edm::IOVSyncValue const& iSync) {
478  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_
479  << " queuing: EventSetup synchronization " << iSync.eventID();
480  });
481  iRegistry.preESSyncIOVSignal_.connect([this](edm::IOVSyncValue const& iSync) {
482  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_
483  << " pre: EventSetup synchronizing " << iSync.eventID();
484  });
485  iRegistry.postESSyncIOVSignal_.connect([this](edm::IOVSyncValue const& iSync) {
486  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_
487  << " post: EventSetup synchronizing " << iSync.eventID();
488  });
489 }
490 
493  desc.addUntracked<std::string>("indention", "++")
494  ->setComment("Prefix characters for output. The characters are repeated to form the indentation.");
495  desc.addUntracked<std::vector<std::string>>("dumpContextForLabels", std::vector<std::string>{})
496  ->setComment(
497  "Prints context information to cout for the module transitions associated with these modules' labels");
498  desc.addUntracked<bool>("dumpNonModuleContext", false)
499  ->setComment("Prints context information to cout for the transitions not associated with any module label");
500  desc.addUntracked<bool>("dumpPathsAndConsumes", false)
501  ->setComment(
502  "Prints information to cout about paths, endpaths, products consumed by modules and the dependencies between "
503  "modules created by the products they consume");
504  desc.addUntracked<bool>("printTimestamps", false)->setComment("Prints a time stamp for every transition");
505  desc.addUntracked<bool>("dumpEventSetupInfo", false)
506  ->setComment(
507  "Prints info 3 times when an event setup cache is filled, before the lock, after the lock, and after "
508  "filling");
509  desc.addUntracked<bool>("useMessageLogger", true)
510  ->setComment("If true, information is sent via the MessageLogger. Only use false if `fileName` is used.");
511  desc.addUntracked<std::string>("fileName", "")
512  ->setComment("If fileName is given, write a compact representation of tracer info to the file.");
513  descriptions.add("Tracer", desc);
514  descriptions.setComment(
515  "This service prints each phase the framework is processing, e.g. constructing a module,running a module, etc.");
516 }
517 
519  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_
520  << " preallocate: " << bounds.maxNumberOfConcurrentRuns() << " concurrent runs, "
521  << bounds.maxNumberOfConcurrentLuminosityBlocks() << " concurrent luminosity sections, "
522  << bounds.maxNumberOfStreams() << " streams";
523 }
524 
525 void Tracer::preBeginJob(PathsAndConsumesOfModulesBase const& pathsAndConsumes, ProcessContext const& pc) {
526  LogAbsolute out("Tracer");
527  out << TimeStamper(printTimestamps_) << indention_ << " starting: begin job";
528  if (dumpPathsAndConsumes_) {
529  out << "\n"
530  << "Process name = " << pc.processName() << "\n";
531  out << "paths:\n";
532  std::vector<std::string> const& paths = pathsAndConsumes.paths();
533  for (auto const& path : paths) {
534  out << " " << path << "\n";
535  }
536  out << "end paths:\n";
537  std::vector<std::string> const& endpaths = pathsAndConsumes.endPaths();
538  for (auto const& endpath : endpaths) {
539  out << " " << endpath << "\n";
540  }
541  for (unsigned int j = 0; j < paths.size(); ++j) {
542  std::vector<ModuleDescription const*> const& modulesOnPath = pathsAndConsumes.modulesOnPath(j);
543  out << "modules on path " << paths.at(j) << ":\n";
544  for (auto const& desc : modulesOnPath) {
545  out << " " << desc->moduleLabel() << "\n";
546  }
547  }
548  for (unsigned int j = 0; j < endpaths.size(); ++j) {
549  std::vector<ModuleDescription const*> const& modulesOnEndPath = pathsAndConsumes.modulesOnEndPath(j);
550  out << "modules on end path " << endpaths.at(j) << ":\n";
551  for (auto const& desc : modulesOnEndPath) {
552  out << " " << desc->moduleLabel() << "\n";
553  }
554  }
555  std::vector<ModuleDescription const*> const& allModules = pathsAndConsumes.allModules();
556  out << "All modules and modules in the current process whose products they consume:\n";
557  out << "(This does not include modules from previous processes or the source)\n";
558  out << "(Exclusively considers Event products, not Run, Lumi, or ProcessBlock products)\n";
559  for (auto const& module : allModules) {
560  out << " " << module->moduleName() << "/\'" << module->moduleLabel() << "\'";
561  unsigned int moduleID = module->id();
562  if (pathsAndConsumes.moduleDescription(moduleID) != module) {
563  throw cms::Exception("TestFailure") << "Tracer::preBeginJob, moduleDescription returns incorrect value";
564  }
565  std::vector<ModuleDescription const*> const& modulesWhoseProductsAreConsumedBy =
566  pathsAndConsumes.modulesWhoseProductsAreConsumedBy(moduleID);
567  if (!modulesWhoseProductsAreConsumedBy.empty()) {
568  out << " consumes products from these modules:\n";
569  for (auto const& producingModule : modulesWhoseProductsAreConsumedBy) {
570  out << " " << producingModule->moduleName() << "/\'" << producingModule->moduleLabel() << "\'\n";
571  }
572  } else {
573  out << "\n";
574  }
575  }
576  out << "All modules (listed by class and label) and all their consumed products.\n";
577  out << "Consumed products are listed by type, label, instance, process.\n";
578  out << "For products not in the event, \'processBlock\', \'run\' or \'lumi\' is added to indicate the TTree they "
579  "are from.\n";
580  out << "For products that are declared with mayConsume, \'may consume\' is added.\n";
581  out << "For products consumed for Views, \'element type\' is added\n";
582  out << "For products only read from previous processes, \'skip current process\' is added\n";
583  for (auto const* module : allModules) {
584  out << " " << module->moduleName() << "/\'" << module->moduleLabel() << "\'";
585  std::vector<ConsumesInfo> consumesInfo = pathsAndConsumes.consumesInfo(module->id());
586  if (!consumesInfo.empty()) {
587  out << " consumes:\n";
588  for (auto const& info : consumesInfo) {
589  out << " " << info.type() << " \'" << info.label() << "\' \'" << info.instance();
590  out << "\' \'" << info.process() << "\'";
591  if (info.branchType() == InLumi) {
592  out << ", lumi";
593  } else if (info.branchType() == InRun) {
594  out << ", run";
595  } else if (info.branchType() == InProcess) {
596  out << ", processBlock";
597  }
598  if (!info.alwaysGets()) {
599  out << ", may consume";
600  }
601  if (info.kindOfType() == ELEMENT_TYPE) {
602  out << ", element type";
603  }
604  if (info.skipCurrentProcess()) {
605  out << ", skip current process";
606  }
607  out << "\n";
608  }
609  } else {
610  out << "\n";
611  }
612  }
613  }
614 }
615 
617  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << " finished: begin job";
618 }
619 
621  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << " starting: end job";
622 }
623 
625  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << " finished: end job";
626 }
627 
629  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << " starting: begin stream " << sc.streamID();
630 }
631 
633  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << " finished: begin stream " << sc.streamID();
634 }
635 
637  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << " starting: end stream " << sc.streamID();
638 }
639 
641  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << " finished: end stream " << sc.streamID();
642 }
643 
645  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " starting: source event";
646 }
647 
649  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " finished: source event";
650 }
651 
653  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " starting: source lumi";
654 }
655 
657  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " finished: source lumi";
658 }
659 
661  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " starting: source run";
662 }
663 
665  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_ << " finished: source run";
666 }
667 
669  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_
670  << " starting: source process block";
671 }
672 
674  LogAbsolute("Tracer") << TimeStamper(printTimestamps_) << indention_ << indention_
675  << " finished: source process block " << processName;
676 }
677 
679  LogAbsolute out("Tracer");
680  out << TimeStamper(printTimestamps_);
681  out << indention_ << indention_ << " starting: open input file: lfn = " << lfn;
682 }
683 
685  LogAbsolute out("Tracer");
686  out << TimeStamper(printTimestamps_);
687  out << indention_ << indention_ << " finished: open input file: lfn = " << lfn;
688 }
689 
691  LogAbsolute out("Tracer");
692  out << TimeStamper(printTimestamps_);
693  out << indention_ << indention_ << " starting: close input file: lfn = " << lfn;
694 }
696  LogAbsolute out("Tracer");
697  out << TimeStamper(printTimestamps_);
698  out << indention_ << indention_ << " finished: close input file: lfn = " << lfn;
699 }
700 
702  ModuleDescription const& desc = *mcc.moduleDescription();
703  LogAbsolute out("Tracer");
704  out << TimeStamper(printTimestamps_);
705  out << indention_ << indention_ << " starting: begin stream for module: stream = " << sc.streamID() << " label = '"
706  << desc.moduleLabel() << "' id = " << desc.id();
707  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
708  out << "\n" << sc;
709  out << mcc;
710  }
711 }
712 
714  ModuleDescription const& desc = *mcc.moduleDescription();
715  LogAbsolute out("Tracer");
716  out << TimeStamper(printTimestamps_);
717  out << indention_ << indention_ << " finished: begin stream for module: stream = " << sc.streamID() << " label = '"
718  << desc.moduleLabel() << "' id = " << desc.id();
719  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
720  out << "\n" << sc;
721  out << mcc;
722  }
723 }
724 
726  ModuleDescription const& desc = *mcc.moduleDescription();
727  LogAbsolute out("Tracer");
728  out << TimeStamper(printTimestamps_);
729  out << indention_ << indention_ << " starting: end stream for module: stream = " << sc.streamID() << " label = '"
730  << desc.moduleLabel() << "' id = " << desc.id();
731  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
732  out << "\n" << sc;
733  out << mcc;
734  }
735 }
736 
738  ModuleDescription const& desc = *mcc.moduleDescription();
739  LogAbsolute out("Tracer");
740  out << TimeStamper(printTimestamps_);
741  out << indention_ << indention_ << " finished: end stream for module: stream = " << sc.streamID() << " label = '"
742  << desc.moduleLabel() << "' id = " << desc.id();
743  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
744  out << "\n" << sc;
745  out << mcc;
746  }
747 }
748 
750  LogAbsolute out("Tracer");
751  out << indention_ << indention_ << " starting: begin process block";
752  if (dumpNonModuleContext_) {
753  out << "\n" << gc;
754  }
755 }
756 
758  LogAbsolute out("Tracer");
759  out << indention_ << indention_ << " finished: begin process block";
760  if (dumpNonModuleContext_) {
761  out << "\n" << gc;
762  }
763 }
764 
766  LogAbsolute out("Tracer");
767  out << indention_ << indention_ << " starting: access input process block";
768  if (dumpNonModuleContext_) {
769  out << "\n" << gc;
770  }
771 }
772 
774  LogAbsolute out("Tracer");
775  out << indention_ << indention_ << " finished: access input process block";
776  if (dumpNonModuleContext_) {
777  out << "\n" << gc;
778  }
779 }
780 
782  LogAbsolute out("Tracer");
783  out << indention_ << indention_ << " starting: end process block";
784  if (dumpNonModuleContext_) {
785  out << "\n" << gc;
786  }
787 }
788 
790  LogAbsolute out("Tracer");
791  out << indention_ << indention_ << " finished: end process block";
792  if (dumpNonModuleContext_) {
793  out << "\n" << gc;
794  }
795 }
796 
798  LogAbsolute out("Tracer");
799  out << indention_ << indention_ << " starting: write process block";
800  if (dumpNonModuleContext_) {
801  out << "\n" << gc;
802  }
803 }
804 
806  LogAbsolute out("Tracer");
807  out << indention_ << indention_ << " finished: write process block";
808  if (dumpNonModuleContext_) {
809  out << "\n" << gc;
810  }
811 }
812 
814  LogAbsolute out("Tracer");
815  out << TimeStamper(printTimestamps_);
816  out << indention_ << indention_ << " starting: global begin run " << gc.luminosityBlockID().run()
817  << " : time = " << gc.timestamp().value();
818  if (dumpNonModuleContext_) {
819  out << "\n" << gc;
820  }
821 }
822 
824  LogAbsolute out("Tracer");
825  out << TimeStamper(printTimestamps_);
826  out << indention_ << indention_ << " finished: global begin run " << gc.luminosityBlockID().run()
827  << " : time = " << gc.timestamp().value();
828  if (dumpNonModuleContext_) {
829  out << "\n" << gc;
830  }
831 }
832 
834  LogAbsolute out("Tracer");
835  out << TimeStamper(printTimestamps_);
836  out << indention_ << indention_ << " starting: global end run " << gc.luminosityBlockID().run()
837  << " : time = " << gc.timestamp().value();
838  if (dumpNonModuleContext_) {
839  out << "\n" << gc;
840  }
841 }
842 
844  LogAbsolute out("Tracer");
845  out << TimeStamper(printTimestamps_);
846  out << indention_ << indention_ << " finished: global end run " << gc.luminosityBlockID().run()
847  << " : time = " << gc.timestamp().value();
848  if (dumpNonModuleContext_) {
849  out << "\n" << gc;
850  }
851 }
852 
854  LogAbsolute out("Tracer");
855  out << TimeStamper(printTimestamps_);
856  out << indention_ << indention_ << " starting: global write run " << gc.luminosityBlockID().run()
857  << " : time = " << gc.timestamp().value();
858  if (dumpNonModuleContext_) {
859  out << "\n" << gc;
860  }
861 }
862 
864  LogAbsolute out("Tracer");
865  out << TimeStamper(printTimestamps_);
866  out << indention_ << indention_ << " finished: global write run " << gc.luminosityBlockID().run()
867  << " : time = " << gc.timestamp().value();
868  if (dumpNonModuleContext_) {
869  out << "\n" << gc;
870  }
871 }
872 
874  LogAbsolute out("Tracer");
875  out << TimeStamper(printTimestamps_);
876  out << indention_ << indention_ << " starting: begin run: stream = " << sc.streamID()
877  << " run = " << sc.eventID().run() << " time = " << sc.timestamp().value();
878  if (dumpNonModuleContext_) {
879  out << "\n" << sc;
880  }
881 }
882 
884  LogAbsolute out("Tracer");
885  out << TimeStamper(printTimestamps_);
886  out << indention_ << indention_ << " finished: begin run: stream = " << sc.streamID()
887  << " run = " << sc.eventID().run() << " time = " << sc.timestamp().value();
888  if (dumpNonModuleContext_) {
889  out << "\n" << sc;
890  }
891 }
892 
894  LogAbsolute out("Tracer");
895  out << TimeStamper(printTimestamps_);
896  out << indention_ << indention_ << " starting: end run: stream = " << sc.streamID() << " run = " << sc.eventID().run()
897  << " time = " << sc.timestamp().value();
898  if (dumpNonModuleContext_) {
899  out << "\n" << sc;
900  }
901 }
902 
904  LogAbsolute out("Tracer");
905  out << TimeStamper(printTimestamps_);
906  out << indention_ << indention_ << " finished: end run: stream = " << sc.streamID() << " run = " << sc.eventID().run()
907  << " time = " << sc.timestamp().value();
908  if (dumpNonModuleContext_) {
909  out << "\n" << sc;
910  }
911 }
912 
914  LogAbsolute out("Tracer");
915  out << TimeStamper(printTimestamps_);
916  out << indention_ << indention_ << " starting: global begin lumi: run = " << gc.luminosityBlockID().run()
917  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
918  if (dumpNonModuleContext_) {
919  out << "\n" << gc;
920  }
921 }
922 
924  LogAbsolute out("Tracer");
925  out << TimeStamper(printTimestamps_);
926  out << indention_ << indention_ << " finished: global begin lumi: run = " << gc.luminosityBlockID().run()
927  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
928  if (dumpNonModuleContext_) {
929  out << "\n" << gc;
930  }
931 }
932 
934  LogAbsolute out("Tracer");
935  out << TimeStamper(printTimestamps_);
936  out << indention_ << indention_ << " starting: global end lumi: run = " << gc.luminosityBlockID().run()
937  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
938  if (dumpNonModuleContext_) {
939  out << "\n" << gc;
940  }
941 }
942 
944  LogAbsolute out("Tracer");
945  out << TimeStamper(printTimestamps_);
946  out << indention_ << indention_ << " finished: global end lumi: run = " << gc.luminosityBlockID().run()
947  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
948  if (dumpNonModuleContext_) {
949  out << "\n" << gc;
950  }
951 }
952 
954  LogAbsolute out("Tracer");
955  out << TimeStamper(printTimestamps_);
956  out << indention_ << indention_ << " starting: global write lumi: run = " << gc.luminosityBlockID().run()
957  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
958  if (dumpNonModuleContext_) {
959  out << "\n" << gc;
960  }
961 }
962 
964  LogAbsolute out("Tracer");
965  out << TimeStamper(printTimestamps_);
966  out << indention_ << indention_ << " finished: global write lumi: run = " << gc.luminosityBlockID().run()
967  << " lumi = " << gc.luminosityBlockID().luminosityBlock() << " time = " << gc.timestamp().value();
968  if (dumpNonModuleContext_) {
969  out << "\n" << gc;
970  }
971 }
972 
974  LogAbsolute out("Tracer");
975  out << TimeStamper(printTimestamps_);
976  out << indention_ << indention_ << " starting: begin lumi: stream = " << sc.streamID()
977  << " run = " << sc.eventID().run() << " lumi = " << sc.eventID().luminosityBlock()
978  << " time = " << sc.timestamp().value();
979  if (dumpNonModuleContext_) {
980  out << "\n" << sc;
981  }
982 }
983 
985  LogAbsolute out("Tracer");
986  out << TimeStamper(printTimestamps_);
987  out << indention_ << indention_ << " finished: begin lumi: stream = " << sc.streamID()
988  << " run = " << sc.eventID().run() << " lumi = " << sc.eventID().luminosityBlock()
989  << " time = " << sc.timestamp().value();
990  if (dumpNonModuleContext_) {
991  out << "\n" << sc;
992  }
993 }
994 
996  LogAbsolute out("Tracer");
997  out << TimeStamper(printTimestamps_);
998  out << indention_ << indention_ << " starting: end lumi: stream = " << sc.streamID()
999  << " run = " << sc.eventID().run() << " lumi = " << sc.eventID().luminosityBlock()
1000  << " time = " << sc.timestamp().value();
1001  if (dumpNonModuleContext_) {
1002  out << "\n" << sc;
1003  }
1004 }
1005 
1007  LogAbsolute out("Tracer");
1008  out << TimeStamper(printTimestamps_);
1009  out << indention_ << indention_ << " finished: end lumi: stream = " << sc.streamID()
1010  << " run = " << sc.eventID().run() << " lumi = " << sc.eventID().luminosityBlock()
1011  << " time = " << sc.timestamp().value();
1012  if (dumpNonModuleContext_) {
1013  out << "\n" << sc;
1014  }
1015 }
1016 
1018  LogAbsolute out("Tracer");
1019  out << TimeStamper(printTimestamps_);
1020  out << indention_ << indention_ << " starting: processing event : stream = " << sc.streamID()
1021  << " run = " << sc.eventID().run() << " lumi = " << sc.eventID().luminosityBlock()
1022  << " event = " << sc.eventID().event() << " time = " << sc.timestamp().value();
1023  if (dumpNonModuleContext_) {
1024  out << "\n" << sc;
1025  }
1026 }
1027 
1029  LogAbsolute out("Tracer");
1030  out << TimeStamper(printTimestamps_);
1031  out << indention_ << indention_ << " finished: processing event : stream = " << sc.streamID()
1032  << " run = " << sc.eventID().run() << " lumi = " << sc.eventID().luminosityBlock()
1033  << " event = " << sc.eventID().event() << " time = " << sc.timestamp().value();
1034  if (dumpNonModuleContext_) {
1035  out << "\n" << sc;
1036  }
1037 }
1038 
1039 void Tracer::prePathEvent(StreamContext const& sc, PathContext const& pc) {
1040  LogAbsolute out("Tracer");
1041  out << TimeStamper(printTimestamps_);
1042  out << indention_ << indention_ << indention_ << " starting: processing path '" << pc.pathName()
1043  << "' : stream = " << sc.streamID();
1044  if (dumpNonModuleContext_) {
1045  out << "\n" << sc;
1046  out << pc;
1047  }
1048 }
1049 
1051  LogAbsolute out("Tracer");
1052  out << TimeStamper(printTimestamps_);
1053  out << indention_ << indention_ << indention_ << " finished: processing path '" << pc.pathName()
1054  << "' : stream = " << sc.streamID();
1055  if (dumpNonModuleContext_) {
1056  out << "\n" << sc;
1057  out << pc;
1058  }
1059 }
1060 
1062  LogAbsolute out("Tracer");
1063  out << TimeStamper(printTimestamps_);
1064  out << indention_ << indention_ << " starting: constructing module with label '" << desc.moduleLabel()
1065  << "' id = " << desc.id();
1066  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
1067  out << "\n" << desc;
1068  }
1069 }
1070 
1072  LogAbsolute out("Tracer");
1073  out << TimeStamper(printTimestamps_);
1074  out << indention_ << indention_ << " finished: constructing module with label '" << desc.moduleLabel()
1075  << "' id = " << desc.id();
1076  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
1077  out << "\n" << desc;
1078  }
1079 }
1080 
1082  LogAbsolute out("Tracer");
1083  out << TimeStamper(printTimestamps_);
1084  out << indention_ << indention_ << " starting: destructing module with label '" << desc.moduleLabel()
1085  << "' id = " << desc.id();
1086  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
1087  out << "\n" << desc;
1088  }
1089 }
1090 
1092  LogAbsolute out("Tracer");
1093  out << TimeStamper(printTimestamps_);
1094  out << indention_ << indention_ << " finished: destructing module with label '" << desc.moduleLabel()
1095  << "' id = " << desc.id();
1096  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
1097  out << "\n" << desc;
1098  }
1099 }
1100 
1102  LogAbsolute out("Tracer");
1103  out << TimeStamper(printTimestamps_);
1104  out << indention_ << indention_;
1105  out << " starting: begin job for module with label '" << desc.moduleLabel() << "' id = " << desc.id();
1106  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
1107  out << "\n" << desc;
1108  }
1109 }
1110 
1112  LogAbsolute out("Tracer");
1113  out << TimeStamper(printTimestamps_);
1114  out << indention_ << indention_;
1115  out << " finished: begin job for module with label '" << desc.moduleLabel() << "' id = " << desc.id();
1116  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
1117  out << "\n" << desc;
1118  }
1119 }
1120 
1122  LogAbsolute out("Tracer");
1123  out << TimeStamper(printTimestamps_);
1124  out << indention_ << indention_;
1125  out << " starting: end job for module with label '" << desc.moduleLabel() << "' id = " << desc.id();
1126  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
1127  out << "\n" << desc;
1128  }
1129 }
1130 
1132  LogAbsolute out("Tracer");
1133  out << TimeStamper(printTimestamps_);
1134  out << indention_ << indention_;
1135  out << " finished: end job for module with label '" << desc.moduleLabel() << "' id = " << desc.id();
1136  if (dumpContextForLabels_.find(desc.moduleLabel()) != dumpContextForLabels_.end()) {
1137  out << "\n" << desc;
1138  }
1139 }
1140 
1142  LogAbsolute out("Tracer");
1143  out << TimeStamper(printTimestamps_);
1144  unsigned int nIndents = mcc.depth() + 4;
1145  for (unsigned int i = 0; i < nIndents; ++i) {
1146  out << indention_;
1147  }
1148  out << " starting: prefetching before processing event for module: stream = " << sc.streamID() << " label = '"
1149  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1151  out << "\n" << sc;
1152  out << mcc;
1153  }
1154 }
1155 
1157  LogAbsolute out("Tracer");
1158  out << TimeStamper(printTimestamps_);
1159  unsigned int nIndents = mcc.depth() + 4;
1160  for (unsigned int i = 0; i < nIndents; ++i) {
1161  out << indention_;
1162  }
1163  out << " finished: prefetching before processing event for module: stream = " << sc.streamID() << " label = '"
1164  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1166  out << "\n" << sc;
1167  out << mcc;
1168  }
1169 }
1170 
1172  LogAbsolute out("Tracer");
1173  out << TimeStamper(printTimestamps_);
1174  unsigned int nIndents = mcc.depth() + 4;
1175  for (unsigned int i = 0; i < nIndents; ++i) {
1176  out << indention_;
1177  }
1178  out << " starting: processing event for module: stream = " << sc.streamID() << " label = '"
1179  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1181  out << "\n" << sc;
1182  out << mcc;
1183  }
1184 }
1185 
1187  LogAbsolute out("Tracer");
1188  out << TimeStamper(printTimestamps_);
1189  unsigned int nIndents = mcc.depth() + 4;
1190  for (unsigned int i = 0; i < nIndents; ++i) {
1191  out << indention_;
1192  }
1193  out << " finished: processing event for module: stream = " << sc.streamID() << " label = '"
1194  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1196  out << "\n" << sc;
1197  out << mcc;
1198  }
1199 }
1200 
1202  LogAbsolute out("Tracer");
1203  out << TimeStamper(printTimestamps_);
1204  unsigned int nIndents = mcc.depth() + 4;
1205  for (unsigned int i = 0; i < nIndents; ++i) {
1206  out << indention_;
1207  }
1208  out << " starting: processing event acquire for module: stream = " << sc.streamID() << " label = '"
1209  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1210 }
1211 
1213  LogAbsolute out("Tracer");
1214  out << TimeStamper(printTimestamps_);
1215  unsigned int nIndents = mcc.depth() + 4;
1216  for (unsigned int i = 0; i < nIndents; ++i) {
1217  out << indention_;
1218  }
1219  out << " finished: processing event acquire for module: stream = " << sc.streamID() << " label = '"
1220  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1221 }
1222 
1224  LogAbsolute out("Tracer");
1225  out << TimeStamper(printTimestamps_);
1226  unsigned int nIndents = mcc.depth() + 4;
1227  for (unsigned int i = 0; i < nIndents; ++i) {
1228  out << indention_;
1229  }
1230  out << " starting: delayed processing event for module: stream = " << sc.streamID() << " label = '"
1231  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1233  out << "\n" << sc;
1234  out << mcc;
1235  }
1236 }
1237 
1239  LogAbsolute out("Tracer");
1240  out << TimeStamper(printTimestamps_);
1241  unsigned int nIndents = mcc.depth() + 4;
1242  for (unsigned int i = 0; i < nIndents; ++i) {
1243  out << indention_;
1244  }
1245  out << " finished: delayed processing event for module: stream = " << sc.streamID() << " label = '"
1246  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1248  out << "\n" << sc;
1249  out << mcc;
1250  }
1251 }
1252 
1254  LogAbsolute out("Tracer");
1255  out << TimeStamper(printTimestamps_);
1256  unsigned int nIndents = mcc.depth() + 5;
1257  for (unsigned int i = 0; i < nIndents; ++i) {
1258  out << indention_;
1259  }
1260  out << " starting: event delayed read from source: stream = " << sc.streamID() << " label = '"
1261  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1262 }
1263 
1265  LogAbsolute out("Tracer");
1266  out << TimeStamper(printTimestamps_);
1267  unsigned int nIndents = mcc.depth() + 5;
1268  for (unsigned int i = 0; i < nIndents; ++i) {
1269  out << indention_;
1270  }
1271  out << " finished: event delayed read from source: stream = " << sc.streamID() << " label = '"
1272  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1273 }
1274 
1276  LogAbsolute out("Tracer");
1277  out << TimeStamper(printTimestamps_);
1278  unsigned int nIndents = mcc.depth() + 4;
1279  for (unsigned int i = 0; i < nIndents; ++i) {
1280  out << indention_;
1281  }
1282  out << " starting: prefetching before transform in event for module: stream = " << sc.streamID() << " label = '"
1283  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id()
1284  << " callID = " << mcc.callID();
1286  out << "\n" << sc;
1287  out << mcc;
1288  }
1289 }
1290 
1292  LogAbsolute out("Tracer");
1293  out << TimeStamper(printTimestamps_);
1294  unsigned int nIndents = mcc.depth() + 4;
1295  for (unsigned int i = 0; i < nIndents; ++i) {
1296  out << indention_;
1297  }
1298  out << " finished: prefetching before transform in event for module: stream = " << sc.streamID() << " label = '"
1299  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id()
1300  << " callID = " << mcc.callID();
1302  out << "\n" << sc;
1303  out << mcc;
1304  }
1305 }
1306 
1308  LogAbsolute out("Tracer");
1309  out << TimeStamper(printTimestamps_);
1310  unsigned int nIndents = mcc.depth() + 4;
1311  for (unsigned int i = 0; i < nIndents; ++i) {
1312  out << indention_;
1313  }
1314  out << " starting: transform in event for module: stream = " << sc.streamID() << " label = '"
1315  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id()
1316  << " callID = " << mcc.callID();
1318  out << "\n" << sc;
1319  out << mcc;
1320  }
1321 }
1322 
1324  LogAbsolute out("Tracer");
1325  out << TimeStamper(printTimestamps_);
1326  unsigned int nIndents = mcc.depth() + 4;
1327  for (unsigned int i = 0; i < nIndents; ++i) {
1328  out << indention_;
1329  }
1330  out << " finished: transform in event for module: stream = " << sc.streamID() << " label = '"
1331  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id()
1332  << " callID = " << mcc.callID();
1334  out << "\n" << sc;
1335  out << mcc;
1336  }
1337 }
1338 
1340  LogAbsolute out("Tracer");
1341  out << TimeStamper(printTimestamps_);
1342  unsigned int nIndents = mcc.depth() + 4;
1343  for (unsigned int i = 0; i < nIndents; ++i) {
1344  out << indention_;
1345  }
1346  out << " starting: acquiring before transform in event for module: stream = " << sc.streamID() << " label = '"
1347  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id()
1348  << " callID = " << mcc.callID();
1349 }
1350 
1352  LogAbsolute out("Tracer");
1353  out << TimeStamper(printTimestamps_);
1354  unsigned int nIndents = mcc.depth() + 4;
1355  for (unsigned int i = 0; i < nIndents; ++i) {
1356  out << indention_;
1357  }
1358  out << " finished: acquiring before transform in event acquire for module: stream = " << sc.streamID() << " label = '"
1359  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id()
1360  << " callID = " << mcc.callID();
1361 }
1363  LogAbsolute out("Tracer");
1364  out << TimeStamper(printTimestamps_);
1365  unsigned int nIndents = mcc.depth() + 4;
1366  for (unsigned int i = 0; i < nIndents; ++i) {
1367  out << indention_;
1368  }
1369  out << " starting: prefetching before processing " << transitionName(sc.transition())
1370  << " for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel()
1371  << "' id = " << mcc.moduleDescription()->id();
1373  out << "\n" << sc;
1374  out << mcc;
1375  }
1376 }
1377 
1379  LogAbsolute out("Tracer");
1380  out << TimeStamper(printTimestamps_);
1381  unsigned int nIndents = mcc.depth() + 4;
1382  for (unsigned int i = 0; i < nIndents; ++i) {
1383  out << indention_;
1384  }
1385  out << " finished: prefetching before processing " << transitionName(sc.transition())
1386  << " for module: stream = " << sc.streamID() << " label = '" << mcc.moduleDescription()->moduleLabel()
1387  << "' id = " << mcc.moduleDescription()->id();
1389  out << "\n" << sc;
1390  out << mcc;
1391  }
1392 }
1393 
1395  LogAbsolute out("Tracer");
1396  out << TimeStamper(printTimestamps_);
1397  unsigned int nIndents = mcc.depth() + 3;
1398  for (unsigned int i = 0; i < nIndents; ++i) {
1399  out << indention_;
1400  }
1401  out << " starting: begin run for module: stream = " << sc.streamID() << " label = '"
1402  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1404  out << "\n" << sc;
1405  out << mcc;
1406  }
1407 }
1408 
1410  LogAbsolute out("Tracer");
1411  out << TimeStamper(printTimestamps_);
1412  unsigned int nIndents = mcc.depth() + 3;
1413  for (unsigned int i = 0; i < nIndents; ++i) {
1414  out << indention_;
1415  }
1416  out << " finished: begin run for module: stream = " << sc.streamID() << " label = '"
1417  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1419  out << "\n" << sc;
1420  out << mcc;
1421  }
1422 }
1423 
1425  LogAbsolute out("Tracer");
1426  out << TimeStamper(printTimestamps_);
1427  unsigned int nIndents = mcc.depth() + 3;
1428  for (unsigned int i = 0; i < nIndents; ++i) {
1429  out << indention_;
1430  }
1431  out << " starting: end run for module: stream = " << sc.streamID() << " label = '"
1432  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1434  out << "\n" << sc;
1435  out << mcc;
1436  }
1437 }
1438 
1440  LogAbsolute out("Tracer");
1441  out << TimeStamper(printTimestamps_);
1442  unsigned int nIndents = mcc.depth() + 3;
1443  for (unsigned int i = 0; i < nIndents; ++i) {
1444  out << indention_;
1445  }
1446  out << " finished: end run for module: stream = " << sc.streamID() << " label = '"
1447  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1449  out << "\n" << sc;
1450  out << mcc;
1451  }
1452 }
1453 
1455  LogAbsolute out("Tracer");
1456  out << TimeStamper(printTimestamps_);
1457  unsigned int nIndents = mcc.depth() + 3;
1458  for (unsigned int i = 0; i < nIndents; ++i) {
1459  out << indention_;
1460  }
1461  out << " starting: begin lumi for module: stream = " << sc.streamID() << " label = '"
1462  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1464  out << "\n" << sc;
1465  out << mcc;
1466  }
1467 }
1468 
1470  LogAbsolute out("Tracer");
1471  out << TimeStamper(printTimestamps_);
1472  unsigned int nIndents = mcc.depth() + 3;
1473  for (unsigned int i = 0; i < nIndents; ++i) {
1474  out << indention_;
1475  }
1476  out << " finished: begin lumi for module: stream = " << sc.streamID() << " label = '"
1477  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1479  out << "\n" << sc;
1480  out << mcc;
1481  }
1482 }
1483 
1485  LogAbsolute out("Tracer");
1486  out << TimeStamper(printTimestamps_);
1487  unsigned int nIndents = mcc.depth() + 3;
1488  for (unsigned int i = 0; i < nIndents; ++i) {
1489  out << indention_;
1490  }
1491  out << " starting: end lumi for module: stream = " << sc.streamID() << " label = '"
1492  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1494  out << "\n" << sc;
1495  out << mcc;
1496  }
1497 }
1498 
1500  LogAbsolute out("Tracer");
1501  out << TimeStamper(printTimestamps_);
1502  unsigned int nIndents = mcc.depth() + 3;
1503  for (unsigned int i = 0; i < nIndents; ++i) {
1504  out << indention_;
1505  }
1506  out << " finished: end lumi for module: stream = " << sc.streamID() << " label = '"
1507  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1509  out << "\n" << sc;
1510  out << mcc;
1511  }
1512 }
1513 
1515  LogAbsolute out("Tracer");
1516  out << TimeStamper(printTimestamps_);
1517  unsigned int nIndents = mcc.depth() + 4;
1518  for (unsigned int i = 0; i < nIndents; ++i) {
1519  out << indention_;
1520  }
1521  out << " starting: prefetching before processing " << transitionName(gc.transition()) << " for module: label = '"
1522  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1524  out << "\n" << gc;
1525  out << mcc;
1526  }
1527 }
1528 
1530  LogAbsolute out("Tracer");
1531  out << TimeStamper(printTimestamps_);
1532  unsigned int nIndents = mcc.depth() + 4;
1533  for (unsigned int i = 0; i < nIndents; ++i) {
1534  out << indention_;
1535  }
1536  out << " finished: prefetching before processing " << transitionName(gc.transition()) << " for module: label = '"
1537  << mcc.moduleDescription()->moduleLabel() << "' id = " << mcc.moduleDescription()->id();
1539  out << "\n" << gc;
1540  out << mcc;
1541  }
1542 }
1543 
1545  LogAbsolute out("Tracer");
1546  unsigned int nIndents = mcc.depth() + 3;
1547  for (unsigned int i = 0; i < nIndents; ++i) {
1548  out << indention_;
1549  }
1550  out << " starting: begin process block for module: label = '" << mcc.moduleDescription()->moduleLabel()
1551  << "' id = " << mcc.moduleDescription()->id();
1553  out << "\n" << gc;
1554  out << mcc;
1555  }
1556 }
1557 
1559  LogAbsolute out("Tracer");
1560  unsigned int nIndents = mcc.depth() + 3;
1561  for (unsigned int i = 0; i < nIndents; ++i) {
1562  out << indention_;
1563  }
1564  out << " finished: begin process block for module: label = '" << mcc.moduleDescription()->moduleLabel()
1565  << "' id = " << mcc.moduleDescription()->id();
1567  out << "\n" << gc;
1568  out << mcc;
1569  }
1570 }
1571 
1573  LogAbsolute out("Tracer");
1574  unsigned int nIndents = mcc.depth() + 3;
1575  for (unsigned int i = 0; i < nIndents; ++i) {
1576  out << indention_;
1577  }
1578  out << " starting: access input process block for module: label = '" << mcc.moduleDescription()->moduleLabel()
1579  << "' id = " << mcc.moduleDescription()->id();
1581  out << "\n" << gc;
1582  out << mcc;
1583  }
1584 }
1585 
1587  LogAbsolute out("Tracer");
1588  unsigned int nIndents = mcc.depth() + 3;
1589  for (unsigned int i = 0; i < nIndents; ++i) {
1590  out << indention_;
1591  }
1592  out << " finished: access input process block for module: label = '" << mcc.moduleDescription()->moduleLabel()
1593  << "' id = " << mcc.moduleDescription()->id();
1595  out << "\n" << gc;
1596  out << mcc;
1597  }
1598 }
1599 
1601  LogAbsolute out("Tracer");
1602  unsigned int nIndents = mcc.depth() + 3;
1603  for (unsigned int i = 0; i < nIndents; ++i) {
1604  out << indention_;
1605  }
1606  out << " starting: end process block for module: label = '" << mcc.moduleDescription()->moduleLabel()
1607  << "' id = " << mcc.moduleDescription()->id();
1609  out << "\n" << gc;
1610  out << mcc;
1611  }
1612 }
1613 
1615  LogAbsolute out("Tracer");
1616  unsigned int nIndents = mcc.depth() + 3;
1617  for (unsigned int i = 0; i < nIndents; ++i) {
1618  out << indention_;
1619  }
1620  out << " finished: end process block for module: label = '" << mcc.moduleDescription()->moduleLabel()
1621  << "' id = " << mcc.moduleDescription()->id();
1623  out << "\n" << gc;
1624  out << mcc;
1625  }
1626 }
1627 
1629  LogAbsolute out("Tracer");
1630  out << TimeStamper(printTimestamps_);
1631  unsigned int nIndents = mcc.depth() + 3;
1632  for (unsigned int i = 0; i < nIndents; ++i) {
1633  out << indention_;
1634  }
1635  out << " starting: global begin run for module: label = '" << mcc.moduleDescription()->moduleLabel()
1636  << "' id = " << mcc.moduleDescription()->id();
1638  out << "\n" << gc;
1639  out << mcc;
1640  }
1641 }
1642 
1644  LogAbsolute out("Tracer");
1645  out << TimeStamper(printTimestamps_);
1646  unsigned int nIndents = mcc.depth() + 3;
1647  for (unsigned int i = 0; i < nIndents; ++i) {
1648  out << indention_;
1649  }
1650  out << " finished: global begin run for module: label = '" << mcc.moduleDescription()->moduleLabel()
1651  << "' id = " << mcc.moduleDescription()->id();
1653  out << "\n" << gc;
1654  out << mcc;
1655  }
1656 }
1657 
1659  LogAbsolute out("Tracer");
1660  out << TimeStamper(printTimestamps_);
1661  unsigned int nIndents = mcc.depth() + 3;
1662  for (unsigned int i = 0; i < nIndents; ++i) {
1663  out << indention_;
1664  }
1665  out << " starting: global end run for module: label = '" << mcc.moduleDescription()->moduleLabel()
1666  << "' id = " << mcc.moduleDescription()->id();
1668  out << "\n" << gc;
1669  out << mcc;
1670  }
1671 }
1672 
1674  LogAbsolute out("Tracer");
1675  out << TimeStamper(printTimestamps_);
1676  unsigned int nIndents = mcc.depth() + 3;
1677  for (unsigned int i = 0; i < nIndents; ++i) {
1678  out << indention_;
1679  }
1680  out << " finished: global end run for module: label = '" << mcc.moduleDescription()->moduleLabel()
1681  << "' id = " << mcc.moduleDescription()->id();
1683  out << "\n" << gc;
1684  out << mcc;
1685  }
1686 }
1687 
1689  LogAbsolute out("Tracer");
1690  out << TimeStamper(printTimestamps_);
1691  unsigned int nIndents = mcc.depth() + 3;
1692  for (unsigned int i = 0; i < nIndents; ++i) {
1693  out << indention_;
1694  }
1695  out << " starting: global begin lumi for module: label = '" << mcc.moduleDescription()->moduleLabel()
1696  << "' id = " << mcc.moduleDescription()->id();
1698  out << "\n" << gc;
1699  out << mcc;
1700  }
1701 }
1702 
1704  LogAbsolute out("Tracer");
1705  out << TimeStamper(printTimestamps_);
1706  unsigned int nIndents = mcc.depth() + 3;
1707  for (unsigned int i = 0; i < nIndents; ++i) {
1708  out << indention_;
1709  }
1710  out << " finished: global begin lumi for module: label = '" << mcc.moduleDescription()->moduleLabel()
1711  << "' id = " << mcc.moduleDescription()->id();
1713  out << "\n" << gc;
1714  out << mcc;
1715  }
1716 }
1717 
1719  LogAbsolute out("Tracer");
1720  out << TimeStamper(printTimestamps_);
1721  unsigned int nIndents = mcc.depth() + 3;
1722  for (unsigned int i = 0; i < nIndents; ++i) {
1723  out << indention_;
1724  }
1725  out << " starting: global end lumi for module: label = '" << mcc.moduleDescription()->moduleLabel()
1726  << "' id = " << mcc.moduleDescription()->id();
1728  out << "\n" << gc;
1729  out << mcc;
1730  }
1731 }
1732 
1734  LogAbsolute out("Tracer");
1735  out << TimeStamper(printTimestamps_);
1736  unsigned int nIndents = mcc.depth() + 3;
1737  for (unsigned int i = 0; i < nIndents; ++i) {
1738  out << indention_;
1739  }
1740  out << " finished: global end lumi for module: label = '" << mcc.moduleDescription()->moduleLabel()
1741  << "' id = " << mcc.moduleDescription()->id();
1743  out << "\n" << gc;
1744  out << mcc;
1745  }
1746 }
1747 
1749  LogAbsolute out("Tracer");
1750  unsigned int nIndents = mcc.depth() + 3;
1751  for (unsigned int i = 0; i < nIndents; ++i) {
1752  out << indention_;
1753  }
1754  out << " starting: write process block for module: label = '" << mcc.moduleDescription()->moduleLabel()
1755  << "' id = " << mcc.moduleDescription()->id();
1757  out << "\n" << gc;
1758  out << mcc;
1759  }
1760 }
1761 
1763  LogAbsolute out("Tracer");
1764  unsigned int nIndents = mcc.depth() + 3;
1765  for (unsigned int i = 0; i < nIndents; ++i) {
1766  out << indention_;
1767  }
1768  out << " finished: write process block for module: label = '" << mcc.moduleDescription()->moduleLabel()
1769  << "' id = " << mcc.moduleDescription()->id();
1771  out << "\n" << gc;
1772  out << mcc;
1773  }
1774 }
1775 
1777  LogAbsolute out("Tracer");
1778  out << TimeStamper(printTimestamps_);
1779  unsigned int nIndents = mcc.depth() + 3;
1780  for (unsigned int i = 0; i < nIndents; ++i) {
1781  out << indention_;
1782  }
1783  out << " starting: write run for module: label = '" << mcc.moduleDescription()->moduleLabel()
1784  << "' id = " << mcc.moduleDescription()->id();
1786  out << "\n" << gc;
1787  out << mcc;
1788  }
1789 }
1790 
1792  LogAbsolute out("Tracer");
1793  out << TimeStamper(printTimestamps_);
1794  unsigned int nIndents = mcc.depth() + 3;
1795  for (unsigned int i = 0; i < nIndents; ++i) {
1796  out << indention_;
1797  }
1798  out << " finished: write run for module: label = '" << mcc.moduleDescription()->moduleLabel()
1799  << "' id = " << mcc.moduleDescription()->id();
1801  out << "\n" << gc;
1802  out << mcc;
1803  }
1804 }
1805 
1807  LogAbsolute out("Tracer");
1808  out << TimeStamper(printTimestamps_);
1809  unsigned int nIndents = mcc.depth() + 3;
1810  for (unsigned int i = 0; i < nIndents; ++i) {
1811  out << indention_;
1812  }
1813  out << " starting: write lumi for module: label = '" << mcc.moduleDescription()->moduleLabel()
1814  << "' id = " << mcc.moduleDescription()->id();
1816  out << "\n" << gc;
1817  out << mcc;
1818  }
1819 }
1820 
1822  LogAbsolute out("Tracer");
1823  out << TimeStamper(printTimestamps_);
1824  unsigned int nIndents = mcc.depth() + 3;
1825  for (unsigned int i = 0; i < nIndents; ++i) {
1826  out << indention_;
1827  }
1828  out << " finished: write lumi for module: label = '" << mcc.moduleDescription()->moduleLabel()
1829  << "' id = " << mcc.moduleDescription()->id();
1831  out << "\n" << gc;
1832  out << mcc;
1833  }
1834 }
1835 
1837  LogAbsolute out("Tracer");
1838  out << TimeStamper(printTimestamps_);
1839  out << indention_;
1840  out << " starting: constructing source: " << desc.moduleName();
1841  if (dumpNonModuleContext_) {
1842  out << "\n" << desc;
1843  }
1844 }
1845 
1847  LogAbsolute out("Tracer");
1848  out << TimeStamper(printTimestamps_);
1849  out << indention_;
1850  out << " finished: constructing source: " << desc.moduleName();
1851  if (dumpNonModuleContext_) {
1852  out << "\n" << desc;
1853  }
1854 }
1855 
1857  LogAbsolute out("Tracer");
1858  out << TimeStamper(printTimestamps_);
1859  unsigned int nIndents = mcc.depth() + 4;
1860  for (unsigned int i = 0; i < nIndents; ++i) {
1861  out << indention_;
1862  }
1863  out << " starting: prefetching for esmodule: label = '" << mcc.componentDescription()->label_
1864  << "' type = " << mcc.componentDescription()->type_ << " in record = " << iKey.name();
1865 }
1866 
1868  LogAbsolute out("Tracer");
1869  out << TimeStamper(printTimestamps_);
1870  unsigned int nIndents = mcc.depth() + 4;
1871  for (unsigned int i = 0; i < nIndents; ++i) {
1872  out << indention_;
1873  }
1874  out << " finished: prefetching for esmodule: label = '" << mcc.componentDescription()->label_
1875  << "' type = " << mcc.componentDescription()->type_ << " in record = " << iKey.name();
1876 }
1877 
1879  LogAbsolute out("Tracer");
1880  out << TimeStamper(printTimestamps_);
1881  unsigned int nIndents = mcc.depth() + 4;
1882  for (unsigned int i = 0; i < nIndents; ++i) {
1883  out << indention_;
1884  }
1885  out << " starting: processing esmodule: label = '" << mcc.componentDescription()->label_
1886  << "' type = " << mcc.componentDescription()->type_ << " in record = " << iKey.name();
1887 }
1888 
1890  LogAbsolute out("Tracer");
1891  out << TimeStamper(printTimestamps_);
1892  unsigned int nIndents = mcc.depth() + 4;
1893  for (unsigned int i = 0; i < nIndents; ++i) {
1894  out << indention_;
1895  }
1896  out << " finished: processing esmodule: label = '" << mcc.componentDescription()->label_
1897  << "' type = " << mcc.componentDescription()->type_ << " in record = " << iKey.name();
1898 }
1899 
1901  LogAbsolute out("Tracer");
1902  out << TimeStamper(printTimestamps_);
1903  unsigned int nIndents = mcc.depth() + 4;
1904  for (unsigned int i = 0; i < nIndents; ++i) {
1905  out << indention_;
1906  }
1907  out << " starting: processing esmodule acquire: label = '" << mcc.componentDescription()->label_
1908  << "' type = " << mcc.componentDescription()->type_ << " in record = " << iKey.name();
1909 }
1910 
1912  LogAbsolute out("Tracer");
1913  out << TimeStamper(printTimestamps_);
1914  unsigned int nIndents = mcc.depth() + 4;
1915  for (unsigned int i = 0; i < nIndents; ++i) {
1916  out << indention_;
1917  }
1918  out << " finished: processing esmodule acquire: label = '" << mcc.componentDescription()->label_
1919  << "' type = " << mcc.componentDescription()->type_ << " in record = " << iKey.name();
1920 }
1921 
1922 using edm::service::Tracer;
void watchPostModuleGlobalEndLumi(PostModuleGlobalEndLumi::slot_type const &iSlot)
std::string_view transitionName(GlobalContext::Transition)
void watchPostModuleConstruction(PostModuleConstruction::slot_type const &iSlot)
void watchPreModuleGlobalBeginRun(PreModuleGlobalBeginRun::slot_type const &iSlot)
void postEventReadFromSource(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1264
void preModuleWriteRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1776
void watchPreEvent(PreEvent::slot_type const &iSlot)
void postSourceRun(RunIndex)
Definition: Tracer.cc:664
void watchPreModuleStreamPrefetching(PreModuleStreamPrefetching::slot_type const &iSlot)
void watchPreAccessInputProcessBlock(PreAccessInputProcessBlock::slot_type const &iSlot)
LuminosityBlockNumber_t luminosityBlock() const
void postModuleDestruction(ModuleDescription const &md)
Definition: Tracer.cc:1091
void preModuleTransformAcquiring(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1339
void postESModuleAcquire(eventsetup::EventSetupRecordKey const &, ESModuleCallingContext const &)
Definition: Tracer.cc:1911
void postModuleGlobalPrefetching(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1529
static const TGPicture * info(bool iBackgroundIsBlack)
void preModuleDestruction(ModuleDescription const &md)
Definition: Tracer.cc:1081
void watchPrePathEvent(PrePathEvent::slot_type const &iSlot)
void postModuleGlobalBeginRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1643
void watchPreallocate(Preallocate::slot_type const &iSlot)
void watchPostModuleEndProcessBlock(PostModuleEndProcessBlock::slot_type const &iSlot)
std::vector< ModuleDescription const * > const & allModules() const
void postSourceProcessBlock(std::string const &)
Definition: Tracer.cc:673
void watchPostModuleTransformAcquiring(PostModuleTransformAcquiring::slot_type const &iSlot)
void postModuleGlobalBeginLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1703
void watchPreESModule(PreESModule::slot_type const &iSlot)
void postESModulePrefetching(eventsetup::EventSetupRecordKey const &, ESModuleCallingContext const &)
Definition: Tracer.cc:1867
void watchPreModuleEventAcquire(PreModuleEventAcquire::slot_type const &iSlot)
void postModuleStreamEndLumi(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1499
void postModuleEventAcquire(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1212
void watchPostEndJob(PostEndJob::slot_type const &iSlot)
void preModuleGlobalBeginLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1688
void postModuleConstruction(ModuleDescription const &md)
Definition: Tracer.cc:1071
Timestamp const & timestamp() const
Definition: StreamContext.h:63
void postModuleEndStream(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:737
void preSourceRun(RunIndex)
Definition: Tracer.cc:660
void postModuleGlobalEndLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1733
void watchPostModuleEndStream(PostModuleEndStream::slot_type const &iSlot)
PreESSyncIOV preESSyncIOVSignal_
void postModuleWriteLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1821
void postModuleWriteProcessBlock(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1762
void watchPreModuleEvent(PreModuleEvent::slot_type const &iSlot)
void preBeginProcessBlock(GlobalContext const &)
Definition: Tracer.cc:749
void watchPreModuleConstruction(PreModuleConstruction::slot_type const &iSlot)
void watchPreModuleEndProcessBlock(PreModuleEndProcessBlock::slot_type const &iSlot)
void watchPreGlobalEndLumi(PreGlobalEndLumi::slot_type const &iSlot)
void watchPostESModuleAcquire(PostESModuleAcquire::slot_type const &iSlot)
void preBeginStream(StreamContext const &)
Definition: Tracer.cc:628
void watchPostEvent(PostEvent::slot_type const &iSlot)
std::vector< ModuleDescription const * > const & modulesOnPath(unsigned int pathIndex) const
void preallocate(service::SystemBounds const &)
Definition: Tracer.cc:518
void postStreamBeginLumi(StreamContext const &)
Definition: Tracer.cc:984
void watchPreStreamEndRun(PreStreamEndRun::slot_type const &iSlot)
void watchPreSourceConstruction(PreSourceConstruction::slot_type const &iSlot)
void preModuleGlobalEndLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1718
void watchPostSourceConstruction(PostSourceConstruction::slot_type const &iSlot)
void watchPostModuleGlobalPrefetching(PostModuleGlobalPrefetching::slot_type const &iSlot)
void watchPostStreamEndLumi(PostStreamEndLumi::slot_type const &iSlot)
void watchPreGlobalBeginLumi(PreGlobalBeginLumi::slot_type const &iSlot)
void preGlobalWriteRun(GlobalContext const &)
Definition: Tracer.cc:853
void watchPostEndProcessBlock(PostEndProcessBlock::slot_type const &iSlot)
void watchPreEventReadFromSource(PreEventReadFromSource::slot_type const &iSlot)
void watchPreModuleDestruction(PreModuleDestruction::slot_type const &iSlot)
void watchPostPathEvent(PostPathEvent::slot_type const &iSlot)
void watchPostESModulePrefetching(PostESModulePrefetching::slot_type const &iSlot)
void watchPostModuleEvent(PostModuleEvent::slot_type const &iSlot)
void preModuleStreamBeginLumi(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1454
void watchPostModuleGlobalBeginLumi(PostModuleGlobalBeginLumi::slot_type const &iSlot)
void watchPostModuleStreamEndLumi(PostModuleStreamEndLumi::slot_type const &iSlot)
void preGlobalEndLumi(GlobalContext const &)
Definition: Tracer.cc:933
void preModuleEndJob(ModuleDescription const &md)
Definition: Tracer.cc:1121
void watchPostGlobalBeginLumi(PostGlobalBeginLumi::slot_type const &iSlot)
void watchPostModuleStreamBeginRun(PostModuleStreamBeginRun::slot_type const &iSlot)
void watchPostSourceEvent(PostSourceEvent::slot_type const &iSlot)
void watchPreModuleAccessInputProcessBlock(PreModuleAccessInputProcessBlock::slot_type const &iSlot)
void preCloseFile(std::string const &lfn)
Definition: Tracer.cc:690
void watchPostModuleTransformPrefetching(PostModuleTransformPrefetching::slot_type const &iSlot)
void postCloseFile(std::string const &)
Definition: Tracer.cc:695
void watchPreBeginProcessBlock(PreBeginProcessBlock::slot_type const &iSlot)
void preModuleConstruction(ModuleDescription const &md)
Definition: Tracer.cc:1061
void preBeginJob(PathsAndConsumesOfModulesBase const &, ProcessContext const &)
Definition: Tracer.cc:525
void watchPreEndProcessBlock(PreEndProcessBlock::slot_type const &iSlot)
void watchPostModuleTransform(PostModuleTransform::slot_type const &iSlot)
void watchPreModuleBeginStream(PreModuleBeginStream::slot_type const &iSlot)
void postStreamEndRun(StreamContext const &)
Definition: Tracer.cc:903
void postGlobalEndLumi(GlobalContext const &)
Definition: Tracer.cc:943
void postSourceLumi(LuminosityBlockIndex)
Definition: Tracer.cc:656
void watchPreSourceProcessBlock(PreSourceProcessBlock::slot_type const &iSlot)
void watchPostESModule(PostESModule::slot_type const &iSlot)
ModuleDescription const * moduleDescription() const noexcept
void postModuleBeginJob(ModuleDescription const &md)
Definition: Tracer.cc:1111
void watchPreStreamEndLumi(PreStreamEndLumi::slot_type const &iSlot)
void postModuleTransformAcquiring(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1351
void postModuleStreamEndRun(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1439
void watchPreModuleGlobalEndRun(PreModuleGlobalEndRun::slot_type const &iSlot)
void watchPreModuleEventPrefetching(PreModuleEventPrefetching::slot_type const &iSlot)
void watchPostModuleWriteRun(PostModuleWriteRun::slot_type const &iSlot)
bool dumpEventSetupInfo_
Definition: Tracer.cc:235
void watchPostModuleWriteProcessBlock(PostModuleWriteProcessBlock::slot_type const &iSlot)
void watchPostModuleWriteLumi(PostModuleWriteLumi::slot_type const &iSlot)
std::vector< std::string > const & endPaths() const
LuminosityBlockNumber_t luminosityBlock() const
Definition: EventID.h:39
void preStreamEndLumi(StreamContext const &)
Definition: Tracer.cc:995
void watchPostModuleEventPrefetching(PostModuleEventPrefetching::slot_type const &iSlot)
T getUntrackedParameter(std::string const &, T const &) const
void preEndProcessBlock(GlobalContext const &)
Definition: Tracer.cc:781
std::vector< ModuleDescription const * > const & modulesOnEndPath(unsigned int endPathIndex) const
void setupFile(std::string const &iFileName, edm::ActivityRegistry &iRegistry)
void preSourceProcessBlock()
Definition: Tracer.cc:668
void watchPreOpenFile(PreOpenFile::slot_type const &iSlot)
char const * label
void watchPostGlobalBeginRun(PostGlobalBeginRun::slot_type const &iSlot)
void preAccessInputProcessBlock(GlobalContext const &)
Definition: Tracer.cc:765
void watchPostCloseFile(PostCloseFile::slot_type const &iSlot)
ModuleDescription const * moduleDescription(unsigned int moduleID) const
void watchPreGlobalEndRun(PreGlobalEndRun::slot_type const &iSlot)
void preESModule(eventsetup::EventSetupRecordKey const &, ESModuleCallingContext const &)
Definition: Tracer.cc:1878
void postModuleStreamPrefetching(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1378
unsigned int id() const
void preGlobalBeginRun(GlobalContext const &)
Definition: Tracer.cc:813
void watchPostBeginProcessBlock(PostBeginProcessBlock::slot_type const &iSlot)
void postModuleBeginProcessBlock(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1558
PreStreamEarlyTermination preStreamEarlyTerminationSignal_
void watchPostBeginStream(PostBeginStream::slot_type const &iSlot)
PreSourceEarlyTermination preSourceEarlyTerminationSignal_
void preSourceEvent(StreamID)
Definition: Tracer.cc:644
void preGlobalEndRun(GlobalContext const &)
Definition: Tracer.cc:833
void watchPostSourceRun(PostSourceRun::slot_type const &iSlot)
void watchPostStreamBeginLumi(PostStreamBeginLumi::slot_type const &iSlot)
void preModuleStreamEndLumi(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1484
void postModuleTransformPrefetching(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1291
Tracer(const ParameterSet &, ActivityRegistry &)
Definition: Tracer.cc:260
void preModuleStreamBeginRun(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1394
void preESModulePrefetching(eventsetup::EventSetupRecordKey const &, ESModuleCallingContext const &)
Definition: Tracer.cc:1856
void watchPreSourceLumi(PreSourceLumi::slot_type const &iSlot)
void prePathEvent(StreamContext const &, PathContext const &)
Definition: Tracer.cc:1039
void postAccessInputProcessBlock(GlobalContext const &)
Definition: Tracer.cc:773
void watchPreModuleEventDelayedGet(PreModuleEventDelayedGet::slot_type const &iSlot)
StreamID const & streamID() const
Definition: StreamContext.h:55
void postModuleEventPrefetching(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1156
void postModuleStreamBeginLumi(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1469
void postESModule(eventsetup::EventSetupRecordKey const &, ESModuleCallingContext const &)
Definition: Tracer.cc:1889
void watchPreModuleBeginProcessBlock(PreModuleBeginProcessBlock::slot_type const &iSlot)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: Tracer.cc:491
void watchPostModuleEventAcquire(PostModuleEventAcquire::slot_type const &iSlot)
void watchPostEndStream(PostEndStream::slot_type const &iSlot)
void watchPostSourceProcessBlock(PostSourceProcessBlock::slot_type const &iSlot)
bool dumpPathsAndConsumes_
Definition: Tracer.cc:233
void watchPreModuleEndJob(PreModuleEndJob::slot_type const &iSlot)
void postGlobalWriteLumi(GlobalContext const &)
Definition: Tracer.cc:963
void preModuleBeginProcessBlock(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1544
void watchPostGlobalEndLumi(PostGlobalEndLumi::slot_type const &iSlot)
void watchPreEndStream(PreEndStream::slot_type const &iSlot)
void watchPreWriteProcessBlock(PreWriteProcessBlock::slot_type const &iSlot)
void preModuleEndProcessBlock(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1600
void postEndProcessBlock(GlobalContext const &)
Definition: Tracer.cc:789
void postGlobalWriteRun(GlobalContext const &)
Definition: Tracer.cc:863
Transition transition() const
Definition: StreamContext.h:56
void watchPreSourceRun(PreSourceRun::slot_type const &iSlot)
void preModuleGlobalEndRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1658
unsigned depth() const noexcept
void preEndStream(StreamContext const &)
Definition: Tracer.cc:636
void postStreamBeginRun(StreamContext const &)
Definition: Tracer.cc:883
std::ostream & operator<<(std::ostream &os, SimpleMemoryCheck::SignificantEvent const &se)
void postBeginStream(StreamContext const &)
Definition: Tracer.cc:632
enable
Messages.
Definition: DiMuonV_cfg.py:93
void watchPreModuleBeginJob(PreModuleBeginJob::slot_type const &iSlot)
void watchPreModuleTransformAcquiring(PreModuleTransformAcquiring::slot_type const &iSlot)
void preStreamEndRun(StreamContext const &)
Definition: Tracer.cc:893
void postOpenFile(std::string const &)
Definition: Tracer.cc:684
void watchPostStreamEndRun(PostStreamEndRun::slot_type const &iSlot)
std::uintptr_t callID() const noexcept
void postEndStream(StreamContext const &)
Definition: Tracer.cc:640
LuminosityBlockID const & luminosityBlockID() const
Definition: GlobalContext.h:66
void preOpenFile(std::string const &)
Definition: Tracer.cc:678
void preEventReadFromSource(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1253
Timestamp const & timestamp() const
Definition: GlobalContext.h:69
void postModuleAccessInputProcessBlock(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1586
RunNumber_t run() const
void preModuleStreamPrefetching(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1362
PreGlobalEarlyTermination preGlobalEarlyTerminationSignal_
PostESSyncIOV postESSyncIOVSignal_
void watchPreModuleGlobalBeginLumi(PreModuleGlobalBeginLumi::slot_type const &iSlot)
void watchPostModuleStreamEndRun(PostModuleStreamEndRun::slot_type const &iSlot)
void postPathEvent(StreamContext const &, PathContext const &, HLTPathStatus const &)
Definition: Tracer.cc:1050
void watchPostModuleBeginProcessBlock(PostModuleBeginProcessBlock::slot_type const &iSlot)
ESSyncIOVQueuing esSyncIOVQueuingSignal_
void watchPreGlobalBeginRun(PreGlobalBeginRun::slot_type const &iSlot)
void watchPreModuleStreamBeginLumi(PreModuleStreamBeginLumi::slot_type const &iSlot)
void watchPreGlobalWriteLumi(PreGlobalWriteLumi::slot_type const &iSlot)
void watchPreModuleTransformPrefetching(PreModuleTransformPrefetching::slot_type const &iSlot)
RunNumber_t run() const
Definition: EventID.h:38
#define DEFINE_FWK_SERVICE(type)
Definition: ServiceMaker.h:97
void setComment(std::string const &value)
void postModuleTransform(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1323
void preModuleAccessInputProcessBlock(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1572
void postModuleEventDelayedGet(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1238
void watchPostModuleBeginStream(PostModuleBeginStream::slot_type const &iSlot)
void preSourceLumi(LuminosityBlockIndex)
Definition: Tracer.cc:652
void postModuleEndProcessBlock(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1614
void watchPreModuleTransform(PreModuleTransform::slot_type const &iSlot)
void watchPostAccessInputProcessBlock(PostAccessInputProcessBlock::slot_type const &iSlot)
void watchPostSourceLumi(PostSourceLumi::slot_type const &iSlot)
void watchPreCloseFile(PreCloseFile::slot_type const &iSlot)
void watchPostModuleEventDelayedGet(PostModuleEventDelayedGet::slot_type const &iSlot)
void watchPostModuleGlobalEndRun(PostModuleGlobalEndRun::slot_type const &iSlot)
void watchPostGlobalWriteRun(PostGlobalWriteRun::slot_type const &iSlot)
void watchPostModuleStreamBeginLumi(PostModuleStreamBeginLumi::slot_type const &iSlot)
void postSourceEvent(StreamID)
Definition: Tracer.cc:648
TimeValue_t value() const
Definition: Timestamp.h:38
std::string indention_
Definition: Tracer.cc:230
void preModuleTransformPrefetching(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1275
void watchPreModuleStreamEndLumi(PreModuleStreamEndLumi::slot_type const &iSlot)
void watchPreModuleStreamBeginRun(PreModuleStreamBeginRun::slot_type const &iSlot)
void watchPostGlobalEndRun(PostGlobalEndRun::slot_type const &iSlot)
void watchPreStreamBeginLumi(PreStreamBeginLumi::slot_type const &iSlot)
std::string const & processName() const
void add(std::string const &label, ParameterSetDescription const &psetDescription)
void watchPostOpenFile(PostOpenFile::slot_type const &iSlot)
void watchPreModuleEndStream(PreModuleEndStream::slot_type const &iSlot)
void postBeginProcessBlock(GlobalContext const &)
Definition: Tracer.cc:757
void preSourceConstruction(ModuleDescription const &md)
Definition: Tracer.cc:1836
void watchPreBeginJob(PreBeginJob::slot_type const &iSlot)
convenience function for attaching to signal
void preModuleEventPrefetching(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1141
void watchPreModuleWriteRun(PreModuleWriteRun::slot_type const &iSlot)
void postModuleWriteRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1791
const EventID & eventID() const
Definition: IOVSyncValue.h:40
void watchPreEndJob(PreEndJob::slot_type const &iSlot)
void preModuleEvent(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1171
void preModuleWriteProcessBlock(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1748
void preModuleBeginStream(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:701
Transition transition() const
Definition: GlobalContext.h:59
void watchPostStreamBeginRun(PostStreamBeginRun::slot_type const &iSlot)
void postGlobalBeginRun(GlobalContext const &)
Definition: Tracer.cc:823
void postGlobalEndRun(GlobalContext const &)
Definition: Tracer.cc:843
void postGlobalBeginLumi(GlobalContext const &)
Definition: Tracer.cc:923
void preGlobalWriteLumi(GlobalContext const &)
Definition: Tracer.cc:953
void watchPostGlobalWriteLumi(PostGlobalEndLumi::slot_type const &iSlot)
HLT enums.
std::vector< ConsumesInfo > consumesInfo(unsigned int moduleID) const
void preModuleGlobalPrefetching(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1514
void preWriteProcessBlock(GlobalContext const &)
Definition: Tracer.cc:797
void watchPreStreamBeginRun(PreStreamBeginRun::slot_type const &iSlot)
void watchPostModuleAccessInputProcessBlock(PostModuleAccessInputProcessBlock::slot_type const &iSlot)
void watchPostModuleDestruction(PostModuleDestruction::slot_type const &iSlot)
void watchPreModuleStreamEndRun(PreModuleStreamEndRun::slot_type const &iSlot)
EventID const & eventID() const
Definition: StreamContext.h:60
void watchPreModuleWriteProcessBlock(PreModuleWriteProcessBlock::slot_type const &iSlot)
void preESModuleAcquire(eventsetup::EventSetupRecordKey const &, ESModuleCallingContext const &)
Definition: Tracer.cc:1900
void preEvent(StreamContext const &)
Definition: Tracer.cc:1017
void watchPostModuleBeginJob(PostModuleBeginJob::slot_type const &iSlot)
void watchPostEventReadFromSource(PostEventReadFromSource::slot_type const &iSlot)
void watchPostModuleGlobalBeginRun(PostModuleGlobalBeginRun::slot_type const &iSlot)
void preModuleWriteLumi(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1806
std::vector< ModuleDescription const * > const & modulesWhoseProductsAreConsumedBy(unsigned int moduleID, BranchType branchType=InEvent) const
void watchPreModuleWriteLumi(PreModuleWriteLumi::slot_type const &iSlot)
void preStreamBeginLumi(StreamContext const &)
Definition: Tracer.cc:973
void postModuleEndJob(ModuleDescription const &md)
Definition: Tracer.cc:1131
Log< level::System, true > LogAbsolute
void preModuleTransform(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1307
void preModuleEndStream(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:725
void postModuleEvent(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1186
std::string const & pathName() const
Definition: PathContext.h:30
void preModuleEventDelayedGet(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1223
void watchPreSourceEvent(PreSourceEvent::slot_type const &iSlot)
void watchPreESModulePrefetching(PreESModulePrefetching::slot_type const &iSlot)
void postModuleBeginStream(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:713
void watchPostModuleStreamPrefetching(PostModuleStreamPrefetching::slot_type const &iSlot)
void preModuleEventAcquire(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1201
bool dumpNonModuleContext_
Definition: Tracer.cc:232
std::string const & moduleLabel() const
void postWriteProcessBlock(GlobalContext const &)
Definition: Tracer.cc:805
void watchPreGlobalWriteRun(PreGlobalWriteRun::slot_type const &iSlot)
void preModuleBeginJob(ModuleDescription const &md)
Definition: Tracer.cc:1101
void postStreamEndLumi(StreamContext const &)
Definition: Tracer.cc:1006
void preModuleStreamEndRun(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1424
void postEvent(StreamContext const &)
Definition: Tracer.cc:1028
void preStreamBeginRun(StreamContext const &)
Definition: Tracer.cc:873
void watchPostModuleEndJob(PostModuleEndJob::slot_type const &iSlot)
void watchPreModuleGlobalPrefetching(PreModuleGlobalPrefetching::slot_type const &iSlot)
void connect(U iFunc)
Definition: Signal.h:74
void postModuleStreamBeginRun(StreamContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1409
def move(src, dest)
Definition: eostools.py:511
edm::eventsetup::ComponentDescription const * componentDescription() const
EventNumber_t event() const
Definition: EventID.h:40
void preGlobalBeginLumi(GlobalContext const &)
Definition: Tracer.cc:913
void watchPreModuleGlobalEndLumi(PreModuleGlobalEndLumi::slot_type const &iSlot)
void postModuleGlobalEndRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1673
std::vector< std::string > const & paths() const
void watchPreESModuleAcquire(PreESModuleAcquire::slot_type const &iSlot)
void postSourceConstruction(ModuleDescription const &md)
Definition: Tracer.cc:1846
std::set< std::string > dumpContextForLabels_
Definition: Tracer.cc:231
void watchPreBeginStream(PreBeginStream::slot_type const &iSlot)
void preModuleGlobalBeginRun(GlobalContext const &, ModuleCallingContext const &)
Definition: Tracer.cc:1628
void watchPostBeginJob(PostBeginJob::slot_type const &iSlot)
convenience function for attaching to signal
void watchPostWriteProcessBlock(PostWriteProcessBlock::slot_type const &iSlot)