On Tue, Mar 12, 2002 at 08:49:44AM +0100, Lukas Ruf wrote: > One way I usually measure time on ia32 architecture based machines: > #include <asm/msr.h> /* where asm should point to asm-i386 by a symb > * link > */ > time_measure{ > u_int32_t low, high; > rdtsc(low,high); > } > > Of course, there are plenty of other ways. If anyone can recommend > another one, I look forward to read... get_cycles() seems to be platform independent and 32 bit (?) Regards, Sourav _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/