Date: Fri, 21 Jan 2005 02:19:15 +0000 From: Joseph Koshy <joseph.koshy@gmail.com> To: Alin-Adrian Anton <aanton@spintech.ro> Cc: Marco Trentini <mark@remotelab.org> Subject: Re: clock time in milliseconds into a c program Message-ID: <84dead72050120181965c70231@mail.gmail.com> In-Reply-To: <41EFBEA5.50007@spintech.ro> References: <20050120004406.GF921@einstein.lab> <41EFBEA5.50007@spintech.ro>
next in thread | previous in thread | raw e-mail | index | archive | help
> I don't think there is a streight way to speed-up the default > unix time resolution, which is, as far as i know, in > microseconds. On i386 (and possibly amd64) platforms you can use the RDTSC instruction to get a direct measure of processor cycles elapsed. -- FreeBSD Volunteer, http://people.freebsd.org/~jkoshy
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?84dead72050120181965c70231>