Skip to content

Commit

Permalink
FastTimerService: make use of the updated signals
Browse files Browse the repository at this point in the history
Take advantage of the updated signatures for the `(pre|post)Source(Lumi|Run)`
signals to account for the time spent in the Source transitions.
  • Loading branch information
fwyzard committed Jan 17, 2018
1 parent fa3092b commit 5b8e8d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions HLTrigger/Timer/src/FastTimerService.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1342,7 +1342,7 @@ FastTimerService::preSourceRun(edm::RunIndex index)
void
FastTimerService::postSourceRun(edm::RunIndex index)
{
thread().measure_and_accumulate(overhead_);
thread().measure_and_accumulate(run_transition_[index]);
}

void
Expand All @@ -1354,7 +1354,7 @@ FastTimerService::preSourceLumi(edm::LuminosityBlockIndex index)
void
FastTimerService::postSourceLumi(edm::LuminosityBlockIndex index)
{
thread().measure_and_accumulate(overhead_);
thread().measure_and_accumulate(lumi_transition_[index]);
}

void
Expand Down

0 comments on commit 5b8e8d2

Please sign in to comment.