On 12/29/24 9:28 AM, Samuel Thibault wrote:
Hello,

Zhaoming Luo, le mar. 24 déc. 2024 09:57:51 +0800, a ecrit:
Add host_get_uptime64() mach interface operation. It can be used to get
the time passed since the boot up.

* doc/mach.texi: Add the documentation for the operation
* include/mach/mach_host.defs: Add the interface
* include/mach/time_value.h: Extend the mappable time variable
* kern/mach_clock.c: Operation implementation
* kern/mach_clock.h: Add a new variable for storing uptime

Applied, thanks!

The glibc part is now needed in clock_gettime

Do you mean adding CLOCK_MONOTONIC case in clock_gettime()?

--
Zhaoming Luo


Reply via email to