On Mon, Feb 27, 2006 at 06:09:26PM +0200, Vlad GALU wrote: > I wrote a piece of software that has to get the current > timestamp, one way or the other, a huge number of times per second. > Apart from the empyrical tests one can perform to find out the > timekeeping scheme with the less performance impact, is there any rule > of thumb as to what choice to go for ?
The TSC is always fastest, but unfortunately under some circumstances it can't be trusted (if your CPU has throttle modes to save power or on some SMP systems where the two TSCs in each CPU give different values). David. _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"