In message <[EMAIL PROTECTED]> Poul-Henning Kamp 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.
Hmmmm. Actually looking at the code, we did use nanotime()... But we do have a few drivers that are using getnanotime() incorrectly... The larger variance was something like a factor of 2 larger than the one that we'd measured on the scopes. I don't have the data online, or I'd be more precise. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message