Skip to content

ppcexec: Use recommended Apple API for getting the realtime clock - #234

Merged
dingusdev merged 1 commit into
dingusdev:masterfrom
mihaip:upstream-apple-time
Oct 9, 2026
Merged

dingusdev merged 1 commit into
dingusdev:masterfrom
mihaip:upstream-apple-time

Conversation

@mihaip

@mihaip mihaip commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

The documentation for mach_absolute_time recommends replacing it with clock_gettime_nsec_np(CLOCK_UPTIME_RAW). The latter is also slightly simpler to use (no need for initialization and a conversion step).

The documentation for `mach_absolute_time` recommends replacing it with
`clock_gettime_nsec_np(CLOCK_UPTIME_RAW)`. The latter is also slightly
simpler to use (no need for initialization and a conversion step).
@dingusdev
dingusdev merged commit a811ff8 into dingusdev:master Oct 9, 2026
7 checks passed
@mihaip
mihaip deleted the upstream-apple-time branch October 9, 2026 16:39
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.

2 participants