Home | History | Annotate | Download | only in sys
History log of /src/tests/lib/libc/sys/t_clock_gettime.c
RevisionDateAuthorComments
 1.10  25-Mar-2025  riastradh t_clock_gettime: Break overlong lines.

No functional change intended.
 1.9  20-Mar-2025  pho t_clock_gettime.c: Fix my typo
 1.8  19-Mar-2025  kre tv_nsec prints with %ld not %jd (should fix build)
 1.7  19-Mar-2025  pho clock_getres(2): Support CLOCK_{PROCESS,THREAD}_CPUTIME_ID

The syscall previously returned EINVAL for these two clocks. It still has
no support for CLOCK_VIRTUAL and CLOCK_PROF but clock_gettime(2) doesn't
either.

Fixes PR kern/59127
 1.6  09-Jul-2023  riastradh branches: 1.6.2;
t_clock_gettime: Avoid signed/unsigned comparison.
 1.5  08-Jul-2023  riastradh clock_gettime(2): Fix CLOCK_PROCESS/THREAD_CPUTIME_ID.

Use same calculation as getrusage, not some ad-hoc arithmetic of
internal scheduler parameters that are periodically rewound.

PR kern/57512

XXX pullup-8
XXX pullup-9
XXX pullup-10
 1.4  08-Jul-2023  riastradh t_clock_gettime: Add test for PR kern/57512.
 1.3  13-Jan-2017  christos branches: 1.3.16; 1.3.28;
Don't play with "../.." in includes for h_macros.h; deal with it centrally.
Minor fixes.
 1.2  13-Jan-2017  christos PR/51849: Ngie Cooper: headers portability fixes
 1.1  15-Oct-2011  jruoho branches: 1.1.24;
Move the clock_gettime(2) timer test to the right place.
 1.1.24.1  20-Mar-2017  pgoyette Sync with HEAD
 1.3.28.1  11-Oct-2024  martin Pull up following revision(s) (requested by riastradh in ticket #943):
sys/sys/resourcevar.h: revision 1.58
sys/kern/subr_time.c: revision 1.36
sys/kern/subr_time.c: revision 1.37
sys/kern/subr_time.c: revision 1.38
sys/kern/kern_resource.c: revision 1.190
sys/kern/kern_resource.c: revision 1.191
tests/lib/libc/sys/t_clock_gettime.c: revision 1.4
tests/lib/libc/sys/t_clock_gettime.c: revision 1.5
tests/lib/libc/sys/t_clock_gettime.c: revision 1.6
kern: KASSERT(A && B) -> KASSERT(A); KASSERT(B)
White space fix.
kern_resource.c: Fix brace placement.
No functional change intended.
t_clock_gettime: Add test for PR kern/57512.
clock_gettime(2): Fix CLOCK_PROCESS/THREAD_CPUTIME_ID.
Use same calculation as getrusage, not some ad-hoc arithmetic of
internal scheduler parameters that are periodically rewound.
PR kern/57512
XXX pullup-8
XXX pullup-9
XXX pullup-10
t_clock_gettime: Avoid signed/unsigned comparison.
 1.3.16.1  11-Oct-2024  martin Pull up following revision(s) (requested by riastradh in ticket #1896):

sys/sys/resourcevar.h: revision 1.58
sys/kern/subr_time.c: revision 1.36
sys/kern/subr_time.c: revision 1.37
sys/kern/subr_time.c: revision 1.38
sys/kern/kern_resource.c: revision 1.190
sys/kern/kern_resource.c: revision 1.191
tests/lib/libc/sys/t_clock_gettime.c: revision 1.4
tests/lib/libc/sys/t_clock_gettime.c: revision 1.5
tests/lib/libc/sys/t_clock_gettime.c: revision 1.6
(all via patch)

kern: KASSERT(A && B) -> KASSERT(A); KASSERT(B)
White space fix.

kern_resource.c: Fix brace placement.
No functional change intended.

t_clock_gettime: Add test for PR kern/57512.

clock_gettime(2): Fix CLOCK_PROCESS/THREAD_CPUTIME_ID.
Use same calculation as getrusage, not some ad-hoc arithmetic of
internal scheduler parameters that are periodically rewound.
PR kern/57512

t_clock_gettime: Avoid signed/unsigned comparison.
 1.6.2.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed