From: Mike Frysinger Date: Mon, 28 Nov 2011 17:57:21 -0500 Subject: [U-Boot] [PATCH] sandbox: Add timer simulation In-Reply-To: <1322516429-8471-1-git-send-email-weisserm@arcor.de> References: <1322516429-8471-1-git-send-email-weisserm@arcor.de> Message-ID: <201111281757.22701.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Monday 28 November 2011 16:40:29 Matthias Weisser wrote: > Making sleep command work i like the idea, but using clock_xxx funcs makes me sad (generally requires a "newerish" glibc and -lrt). my only alternative proposal is to use usec's with gettimeofday ... maybe that's good enough ? although we'll probably need to add nsec support eventually anyways for the newer timer code ... feel like wiring up timer_get_us() too ? -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. URL: