clock time in milliseconds into a c program

art yerkes ayerkes at speakeasy.net
Fri Jan 21 05:27:26 PST 2005


Remember to calibrate RDTSC against the RTC first if you're using it in
production.  It's quite accurate but some mobile CPUs count in coarser
units than you'd predict from master clock rate.
-- 
Here's a simple experiment. Stand on a train track between two locomotives
which are pushing on you with equal force in opposite directions. You will
exhibit no net motion. None the less, you may soon begin to notice that
something important is happening.
-- Robert Stirniman


More information about the freebsd-hackers mailing list