Re: get-real-time bug?

Ian Lindsay <[email protected]> Wed, 25 May 2005 21:47:10 -0400
Newsgroups gmane.comp.breve
Message-ID <[email protected]>
The BSD syscall gettimeofday() reads microsecond clock values.
http://www.openbsd.org/cgi-bin/man.cgi?query=gettimeofday

On Wed, May 25, 2005 at 05:26:39PM -0700, James M Grimes wrote:
> I was taking a my cue from unix systems'  time() function (see 'man 3 
> time') which returns time since Jan 1st 1970 as an integral value.  
> There's something in BSD Unix (and Mac OS X) which defines a "timespec" 
> structure that includes nanosecond integers, but I didn't find a 
> standard way to access that.  Ironically, there was an easy way to do 
> so in poor old Mac Classic.  So I'd be curious to learn how you'll go 
> about getting microsecond clock values. 
_______________________________________________
breve mailing list
[email protected]
http://lists.spiderland.org/mailman/listinfo/breve