linux-mips
[Top] [All Lists]

Re: Performance measuring in MIPS R3000

To: Chetan B L <chetanb@ishoni.com>
Subject: Re: Performance measuring in MIPS R3000
From: Florian Lohoff <flo@rfc822.org>
Date: Thu, 16 Jan 2003 16:18:07 +0100
Cc: "'linux-mips@linux-mips.org'" <linux-mips@linux-mips.org>
In-reply-to: <7CFD7CA8510CD6118F950002A519EA3003FB04E6@leonoid.in.ishoni.com>
Organization: rfc822 - pure communication
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.3.28i
On Thu, Jan 16, 2003 at 12:01:52PM +0530, Chetan B L wrote:
> Hi,
>       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 ?

Depending on the CPU - IIRC most R4k variants have something like this
and its sometimes used for generating Timer-Interrupts.

Flo
-- 
Florian Lohoff                  flo@rfc822.org             +49-5201-669912
                        Heisenberg may have been here.

Attachment: pgpjNP9BTFHGj.pgp
Description: PGP signature

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