Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Oct 1998 21:00:34 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        stefan@callmedia.se
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Time granularity
Message-ID:  <199810232100.OAA02144@usr07.primenet.com>
In-Reply-To: <199810221827.UAA22987@callmedia.se> from "stefan@callmedia.se" at Oct 22, 98 08:52:45 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> Unfortunately we have some of these horrible SCO 3.2 server(something). 
> (We can't at this moment port that software to FreeBSD. driver stuff)
> 	Is there anyone that have any clue on how to get bigger time
> granularity on SCO 3.2 than hundreds of a second(thousands with CPU
> time usage)? We need to do very accurate timing in a kind of competition.
> 	Is there any library for this kind of stuff out there?
> 	
> (With FreeBSD's timing functionality and virtual clocks there is no
> problem, I know,)

If this is a Pentium, you can read the instruction cycle counter;
see the FreeBSD "timecounter" code in the /sys/i386 directory for
more details.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810232100.OAA02144>