| To: | Chetan B L <chetanb@ishoni.com> |
|---|---|
| Subject: | Re: Performance measuring in MIPS R3000 |
| From: | Ralf Baechle <ralf@linux-mips.org> |
| Date: | Fri, 17 Jan 2003 14:09:02 +0100 |
| Cc: | "'linux-mips@linux-mips.org'" <linux-mips@linux-mips.org> |
| In-reply-to: | <7CFD7CA8510CD6118F950002A519EA3003FB04E6@leonoid.in.ishoni.com>; from chetanb@ishoni.com on Thu, Jan 16, 2003 at 12:01:52PM +0530 |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <7CFD7CA8510CD6118F950002A519EA3003FB04E6@leonoid.in.ishoni.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.2.5.1i |
On Thu, Jan 16, 2003 at 12:01:52PM +0530, Chetan B L wrote: > I want to measure the time taken by any kernel function. > Is there anything like rdtsc indtruction in MIPS ? > I saw timepeg patch for measuring the same for Pentium , is there anything > similar to it for MIPS ? The subject of your mail is mentioning the R3000 which doesn't have any kind of timer in the processor. As already mentioned in my other posting do_gettimeofday() is the portable timer interface providing the highest accuracy. But the R3000 processor itself doesn't provide any timers so the precission of the clock will actually depend of the whatever timers are provided by the rest of the system. Hoever I doubt you're actually using a true R3000 - the R3000 is an ~ 1988 vintage processor. Later R3000 processors frequently contain a suitable timer. Ralf |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Getting Time Difference, Ralf Baechle |
|---|---|
| Next by Date: | Mopd Directions, Justin Pauley |
| Previous by Thread: | Re: Performance measuring in MIPS R3000, Florian Lohoff |
| Next by Thread: | Getting Time Difference, Gilad Benjamini |
| Indexes: | [Date] [Thread] [Top] [All Lists] |