| To: | <linux-mips@linux-mips.org> |
|---|---|
| Subject: | Getting Time Difference |
| From: | "Gilad Benjamini" <yaelgilad@myrealbox.com> |
| Date: | Thu, 16 Jan 2003 18:48:09 +0200 |
| Importance: | Normal |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
Hi, 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 case. 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> |
|---|---|---|
| ||
| Previous by Date: | Re: Performance measuring in MIPS R3000, Florian Lohoff |
|---|---|
| Next by Date: | Anyone running crashme?, Greg Lindahl |
| Previous by Thread: | Performance measuring in MIPS R3000, Chetan B L |
| Next by Thread: | Re: Getting Time Difference, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |