In message <[EMAIL PROTECTED]>, Warner Losh writes:

>We found at Timing Solutions when we were trying to measure interrupt
>latency that the system time (getnanotime()) gave us measurements with
>a larger variance than our expensive scopes that does statistical
>gathering.

Uhm, you should have used nanotime(), not getnanotime().

getnanotime() returns a timestamp in nanoseconds of the last
stored timestamp which may be up to 1/hz seconds old.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED]         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to