NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/25641 (nfs uses time(9) where it should use mono_time(9))
The following reply was made to PR kern/25641; it has been noted by GNATS.
From: Frank Kardel <kardel%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: kern/25641 (nfs uses time(9) where it should use mono_time(9))
Date: Tue, 6 Aug 2019 22:13:37 +0200
Consider to use microuptime() or getmicrouptime() for determining
elapsed time spans in the kernel.
getmicropuptime() is updated once per clock tick and is faster than
microuptime() which queries the time counter.
The Xuptime() functions return the elapsed time since boot and are thus
monotonic.
Home |
Main Index |
Thread Index |
Old Index