[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: get kernel time && data type
On Fri, Mar 16, 2001 at 11:01:57AM -0400, alejandro alliana wrote:
> It seems to me jiffies isn't as accurate as i need.
> I followed your advice and tried:
> long t1;
> rdtscl(ts);
> but 4 bytes isn't enogh time (i get the same number aprox every 12 sec.),
> I'd much rather use 8 bytes using an unsigned long long )
rdtscll() ?
(IOW: use the source, Luke! ;)
Erik
--
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands
Phone: +31-15-2783635 Fax: +31-15-2781843 Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/
IRC Channel: irc.openprojects.net / #kernelnewbies
Web Page: http://www.surriel.com/kernelnewbies.shtml