Date: Fri, 21 Jan 2005 08:00:53 -0600 From: art yerkes <ayerkes@speakeasy.net> To: freebsd-hackers@freebsd.org Subject: Re: clock time in milliseconds into a c program Message-ID: <20050121080053.580f7181.ayerkes@speakeasy.net> In-Reply-To: <41F0EB25.5030404@spintech.ro> References: <20050120004406.GF921@einstein.lab> <41EFBEA5.50007@spintech.ro> <84dead72050120181965c70231@mail.gmail.com> <c2d45d6e050121015876defa22@mail.gmail.com> <41F0EB25.5030404@spintech.ro>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050121080053.580f7181.ayerkes>