Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make system timing correct with unscheduled execution #4583

Conversation

Dr15Jones
Copy link
Contributor

Changed the system timing summary infrastructure to properly handle unscheduled execution. This is actually a full replacement for the old timing infrastructure where the new code makes use of the service signals instead of having timers embedded all over the framework.

Needed move semantics to allow CPUTimer to be placed in containers.
In order to properly account for unscheduled execution, the summary timing is now done by SystemTimeKeeper. This way the summary can reuse the signals sent by the ActivityRegistry which includes the signals sent when an unscheduled execution is being triggered.
Reuse the timing measurement made for a module when doing the time accounting for the time a module spends running on a particular path. This avoids having two separate timers running.
Removed the timing infrastructure which was previously used to generate the timing summary. This is no longer needed by the new way of getting the timing summary.
@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 9, 2014

A new Pull Request was created by @Dr15Jones (Chris Jones) for CMSSW_7_2_X.

Make system timing correct with unscheduled execution

It involves the following packages:

FWCore/Framework
FWCore/Utilities

@cmsbuild, @Degano, @Dr15Jones, @ktf, @nclopezo can you please review it and eventually sign? Thanks.
@wddgit, @wmtan this is something you requested to watch as well.
You can sign-off by replying to this message having '+1' in the first line of your reply.
You can reject by replying to this message having '-1' in the first line of your reply.

@Dr15Jones
Copy link
Contributor Author

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 9, 2014

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_2_X IBs unless changes or unless it breaks tests.

davidlange6 added a commit that referenced this pull request Jul 9, 2014
…scheduled

Make system timing correct with unscheduled execution
@davidlange6 davidlange6 merged commit d9b7918 into cms-sw:CMSSW_7_2_X Jul 9, 2014
@Dr15Jones Dr15Jones deleted the makeSystemTimingCorrectWithUnscheduled branch August 27, 2014 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants