Skip to content

bpo-31917: Add 3 new clock identifiers #4207

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

Merged
merged 1 commit into from
Nov 2, 2017
Merged

bpo-31917: Add 3 new clock identifiers #4207

merged 1 commit into from
Nov 2, 2017

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Nov 1, 2017

Add new clock identfiers:

  • time.CLOCK_BOOTTIME
  • time.CLOCK_PROF
  • time.CLOCK_UPTIME

https://bugs.python.org/issue31917

@@ -0,0 +1 @@
Add time.CLOCK_PROF constant.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps mention that this FreeBSD-only here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added an entry in What's New in Python 3.7 which adds more details.

Add new clock identfiers:

* time.CLOCK_BOOTTIME
* time.CLOCK_PROF
* time.CLOCK_UPTIME
@vstinner vstinner changed the title bpo-31917: Add time.CLOCK_PROF constant bpo-31917: Add 3 new clock identifiers Nov 2, 2017
@vstinner vstinner merged commit a64ce97 into python:master Nov 2, 2017
@vstinner vstinner deleted the clock_prof branch November 2, 2017 11:19
@vstinner
Copy link
Member Author

vstinner commented Nov 2, 2017

Thanks for the review @taleinat :-) I merged my PR.

embray pushed a commit to embray/cpython that referenced this pull request Nov 9, 2017
Add new clock identfiers:

* time.CLOCK_BOOTTIME
* time.CLOCK_PROF
* time.CLOCK_UPTIME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants