Skip to content

Missing clock definitions on macOS (time module) #113791

Closed
@ronaldoussoren

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

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions