Subject: Re: cost of gettimeofday()
To: Peter Seebach <seebs@plethora.net>
From: Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
List: current-users
Date: 03/08/2002 13:19:52
> >Well, not gettimeofday() per se, but getting the system tick clock as a
> >rolling timestamp each time an event fires should be fine, IMHO....
> 
> Fair enough.  What's the canonical way to do this?

There are several, documented in time(9) and microtime(9).

If 1/hz resolution is ok, just look in the "mono_time" global
variable.

						- Bill