*BSD News Article 12329


Return to BSD News archive

Path: sserve!manuel.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!bogus.sura.net!udel!sbcs.sunysb.edu!stark.UUCP!gene
From: gene@stark.uucp (Gene Stark)
Newsgroups: comp.os.386bsd.development
Subject: Re: DELAY() accuracy
Date: 5 Mar 93 08:19:10
Organization: Gene Stark's home system
Lines: 15
Message-ID: <GENE.93Mar5081910@stark.stark.uucp>
References: <93030220176@genesis.nred.ma.us>
NNTP-Posting-Host: stark.uucp
In-reply-to: steve2@genesis.nred.ma.us's message of 2 Mar 93 13:19:15 GMT

steve2@genesis.nred.ma.us (Steve Gerakines) writes:

>I created a little patch for my kernel a while back that improved the
>accuracy of the DELAY() macro.  Has anyone else officially added a fine
>tuned (non-interrupt) delay routine yet?  If not I'll post mine up here.

About a week ago a precision "microtime" routine was posted.  It works
great, with microsecond resolution, and I am now using that to check
timing in my TW523 X-10 driver.  I highly recommend using the new
microtime to do timing.

							- Gene Stark

--
							stark@cs.sunysb.edu