CVSROOT: /cvs Module name: src Changes by: [email protected] 2024/02/29 11:17:41
Modified files:
regress/sys/kern/nanosleep: nanosleep.c
Log message:
Use monotonic clock to measure elapsed time.
The nanosleep regression test used gettimeofday(2). Switch it to
a monotonic clock to avoid accidential fails from a call to
settimeofday(2) somewhere in the system.
from Christian Ludwig
