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

ThroughputService: use std::chrono::steady_clock instead of clock_gettime(CLOCK_MONOTONIC, ...) #5645

Merged
merged 1 commit into from Oct 2, 2014

Conversation

fwyzard
Copy link
Contributor

@fwyzard fwyzard commented Oct 1, 2014

This should fix the ThroughputService on OS X, where clock_gettime is not implemented

According to testChrono, steady_clock::now() is marginally slower than (CLOCK_MONOTONIC, ...), but in this case the difference should be negligible.

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 1, 2014

A new Pull Request was created by @fwyzard (Andrea Bocci) for CMSSW_7_3_X.

ThroughputService: use std::chrono::steady_clock instead of clock_gettime(CLOCK_MONOTONIC, ...)

It involves the following packages:

HLTrigger/Timer

@Martin-Grunewald, @perrotta, @cmsbuild, @nclopezo, @fwyzard can you please review it and eventually sign? Thanks.
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.
@nclopezo, @ktf you are the release manager for this.
You can merge this pull request by typing 'merge' in the first line of your comment.

@fwyzard
Copy link
Contributor Author

fwyzard commented Oct 1, 2014

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 1, 2014

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_3_X IBs unless changes or unless it breaks tests. @nclopezo, @ktf can you please take care of it?

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 2, 2014

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 2, 2014

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_3_X IBs unless changes (tests are also fine). @nclopezo, @ktf can you please take care of it?

ktf added a commit that referenced this pull request Oct 2, 2014
ThroughputService: use std::chrono::steady_clock instead of clock_gettime(CLOCK_MONOTONIC, ...)
@ktf ktf merged commit d6e73a1 into cms-sw:CMSSW_7_3_X Oct 2, 2014
@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 2, 2014

@fwyzard fwyzard deleted the ThroughputService_v2 branch December 23, 2014 10:28
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