[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH Mach] kern: Add a mach host operation which returns elapsed t
From: |
Samuel Thibault |
Subject: |
Re: [PATCH Mach] kern: Add a mach host operation which returns elapsed time since bootup |
Date: |
Sun, 29 Dec 2024 10:21:48 +0100 |
Zhaoming Luo, le dim. 29 déc. 2024 12:44:27 +0800, a ecrit:
> 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()?
Yes.
Samuel