@@ -294,8 +294,63 @@ Tracer::Tracer(ParameterSet const& iPS, ActivityRegistry& iRegistry)
294294 for (std::string& label : iPS.getUntrackedParameter <std::vector<std::string>>(" dumpContextForLabels" ))
295295 dumpContextForLabels_.insert (std::move (label));
296296
297+ iRegistry.watchPostServicesConstruction ([this ]() {
298+ LogAbsolute out (" Tracer" );
299+ out << TimeStamper (printTimestamps_) << indention_ << " finished: construction of Services" ;
300+ });
301+ iRegistry.watchPreEventSetupModulesConstruction ([this ]() {
302+ LogAbsolute out (" Tracer" );
303+ out << TimeStamper (printTimestamps_) << indention_ << " starting: construction of EventSetup modules" ;
304+ });
305+ iRegistry.watchPostEventSetupModulesConstruction ([this ]() {
306+ LogAbsolute out (" Tracer" );
307+ out << TimeStamper (printTimestamps_) << indention_ << " finished: construction of EventSetup modules" ;
308+ });
309+ iRegistry.watchPreFinishSchedule ([this ]() {
310+ LogAbsolute out (" Tracer" );
311+ out << TimeStamper (printTimestamps_) << indention_ << " starting: finalize Schedule" ;
312+ });
313+ iRegistry.watchPostFinishSchedule ([this ]() {
314+ LogAbsolute out (" Tracer" );
315+ out << TimeStamper (printTimestamps_) << indention_ << " finished: finalize Schedule" ;
316+ });
317+ iRegistry.watchPrePrincipalsCreation ([this ]() {
318+ LogAbsolute out (" Tracer" );
319+ out << TimeStamper (printTimestamps_) << indention_
320+ << " starting: creation of Run, LuminosityBlock, and Event Principals" ;
321+ });
322+ iRegistry.watchPostPrincipalsCreation ([this ]() {
323+ LogAbsolute out (" Tracer" );
324+ out << TimeStamper (printTimestamps_) << indention_
325+ << " finished: creation of Run, LuminosityBlock, and Event Principals" ;
326+ });
327+ iRegistry.watchPreScheduleConsistencyCheck ([this ]() {
328+ LogAbsolute out (" Tracer" );
329+ out << TimeStamper (printTimestamps_) << indention_ << " starting: schedule consistency check" ;
330+ });
331+ iRegistry.watchPostScheduleConsistencyCheck ([this ]() {
332+ LogAbsolute out (" Tracer" );
333+ out << TimeStamper (printTimestamps_) << indention_ << " finished: schedule consistency check" ;
334+ });
335+
297336 iRegistry.watchPreallocate (this , &Tracer::preallocate);
337+ iRegistry.watchPreEventSetupConfigurationFinalized ([this ]() {
338+ LogAbsolute out (" Tracer" );
339+ out << TimeStamper (printTimestamps_) << indention_ << " starting: finalize EventSetup configuration" ;
340+ });
341+ iRegistry.watchPostEventSetupConfigurationFinalized ([this ]() {
342+ LogAbsolute out (" Tracer" );
343+ out << TimeStamper (printTimestamps_) << indention_ << " finished: finalize EventSetup configuration" ;
344+ });
298345
346+ iRegistry.watchPreModulesInitializationFinalized ([this ]() {
347+ LogAbsolute out (" Tracer" );
348+ out << TimeStamper (printTimestamps_) << indention_ << " starting: finalize EDModules' initialization" ;
349+ });
350+ iRegistry.watchPostModulesInitializationFinalized ([this ]() {
351+ LogAbsolute out (" Tracer" );
352+ out << TimeStamper (printTimestamps_) << indention_ << " finished: finalize EDModules' initialization" ;
353+ });
299354 iRegistry.watchPreBeginJob (this , &Tracer::preBeginJob);
300355 iRegistry.watchPostBeginJob (this , &Tracer::postBeginJob);
301356 iRegistry.watchPreEndJob (this , &Tracer::preEndJob);
0 commit comments