microuptime, nanouptime during boot?

Stefan Bethke stb at lassitu.de
Fri Dec 16 15:21:33 UTC 2011


Hi,

I'm trying to speed up iicbb by switching from DELAY to something with a higher resolution.  I figured I'd try to use the time-honored method of calibrating an I/O operation as a delay loop.  To my surprise, {get,}{micro,nano}uptime dont seem to be ticking during boot.

Am I doing something wrong? Is there an easier way to get a sub-microsecond delay?


Stefan

-- 
Stefan Bethke <stb at lassitu.de>   Fon +49 151 14070811





More information about the freebsd-mips mailing list