From owner-freebsd-mips@FreeBSD.ORG Fri Dec 16 15:21:33 2011 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BEB48106566B for ; Fri, 16 Dec 2011 15:21:33 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from gilb.zs64.net (gilb.zs64.net [IPv6:2001:470:1f0b:105e::1ea]) by mx1.freebsd.org (Postfix) with ESMTP id 888FC8FC15 for ; Fri, 16 Dec 2011 15:21:33 +0000 (UTC) Received: by gilb.zs64.net (Postfix, from stb@lassitu.de) id DB576105587 for ; Fri, 16 Dec 2011 16:21:32 +0100 (CET) From: Stefan Bethke Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Fri, 16 Dec 2011 16:21:32 +0100 Message-Id: <62216DC9-01B4-4747-9BA0-1A7C6E077DD9@lassitu.de> To: freebsd-mips@freebsd.org Mime-Version: 1.0 (Apple Message framework v1251.1) X-Mailer: Apple Mail (2.1251.1) Subject: microuptime, nanouptime during boot? X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2011 15:21:33 -0000 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 --=20 Stefan Bethke Fon +49 151 14070811