Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Dec 2011 16:21:32 +0100
From:      Stefan Bethke <stb@lassitu.de>
To:        freebsd-mips@freebsd.org
Subject:   microuptime, nanouptime during boot?
Message-ID:  <62216DC9-01B4-4747-9BA0-1A7C6E077DD9@lassitu.de>

next in thread | raw e-mail | index | archive | help

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@lassitu.de>   Fon +49 151 14070811






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?62216DC9-01B4-4747-9BA0-1A7C6E077DD9>