[Top] [All Lists]

Getting Time Difference

To: <>
Subject: Getting Time Difference
From: "Gilad Benjamini" <>
Date: Thu, 16 Jan 2003 18:48:09 +0200
Importance: Normal
Original-recipient: rfc822;
I am porting code from a x86 platform.
That code uses rdtsc and cpu_khz to compute
the time difference between two events. Jiffies aren't good enough in this 

Looking through header files I can find a few MIPS replacements.
What is the "right" one to use ?

What is the best way to change the code so it can compile
and run on both platforms ?

<Prev in Thread] Current Thread [Next in Thread>