Changed kern/timer.c to use the higher precision time_value64_t.
Of course, this won't suffer from the 2038 overflow but it does provide
nanosecond precision (if gnumach ever uses a better timer) and
moves us closer to only having time_value64_t.
---
include/mach/time_value.h | 5 +++
kern/mach_c
On Mon, Mar 13, 2023 at 3:41 PM Samuel Thibault
wrote:
> Hello,
>
> Flavio Cruz, le lun. 13 mars 2023 01:42:12 -0400, a ecrit:
> > @@ -854,21 +849,22 @@ kern_return_t task_info(
> > task_thread_times_info_t times_info;
> > thread_tthread;
> >
> > -
Hello,
Flavio Cruz, le lun. 13 mars 2023 01:42:12 -0400, a ecrit:
> @@ -854,21 +849,22 @@ kern_return_t task_info(
> task_thread_times_info_t times_info;
> thread_tthread;
>
> - if (*task_info_count < TASK_THREAD_TIMES_INFO_COUNT) {
> +
Changed kern/timer.c to use the higher precision time_value64_t.
Of course, this won't suffer from the 2038 overflow but it does provide
nanosecond precision (if gnumach ever uses a better timer) and
moves us closer to only having time_value64_t.
---
include/mach/time_value.h | 5 +++
kern/mach_c