All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@linux-mips.org>
To: Chetan B L <chetanb@ishoni.com>
Cc: "'linux-mips@linux-mips.org'" <linux-mips@linux-mips.org>
Subject: Re: Performance measuring in MIPS R3000
Date: Fri, 17 Jan 2003 14:09:02 +0100	[thread overview]
Message-ID: <20030117140902.B8301@linux-mips.org> (raw)
In-Reply-To: <7CFD7CA8510CD6118F950002A519EA3003FB04E6@leonoid.in.ishoni.com>; from chetanb@ishoni.com on Thu, Jan 16, 2003 at 12:01:52PM +0530

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

      parent reply	other threads:[~2003-01-17 13:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-16  6:31 Performance measuring in MIPS R3000 Chetan B L
2003-01-16 15:18 ` Florian Lohoff
2003-01-17 13:09 ` Ralf Baechle [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030117140902.B8301@linux-mips.org \
    --to=ralf@linux-mips.org \
    --cc=chetanb@ishoni.com \
    --cc=linux-mips@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.