Skip to content

Missing clock definitions on macOS (time module) #113791

Closed

Description

@ronaldoussoren

Feature or enhancement

Proposal:

time exports a number of CLOCK_* values. MacOS has two constants that aren't exposed here:

  • CLOCK_MONOTONIC_RAW_APPROX
  • CLOCK_UPTIME_RAW_APPROX

Their definitions are the same as the same clocks without _APPROX at the end, but with lower accuracy due to the value only changing at context switches.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs

Activity

  1. added 2 commits that reference this issue on Jan 7, 2024
  2. added a commit that references this issue on Jan 22, 2024
  3. added a commit that references this issue on Feb 11, 2024
  4. added a commit that references this issue on Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions