[Top] [All Lists]

Re: Performance measuring in MIPS R3000

To: Chetan B L <>
Subject: Re: Performance measuring in MIPS R3000
From: Florian Lohoff <>
Date: Thu, 16 Jan 2003 16:18:07 +0100
Cc: "''" <>
In-reply-to: <>
Organization: rfc822 - pure communication
Original-recipient: rfc822;
References: <>
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.

Florian Lohoff                     +49-5201-669912
                        Heisenberg may have been here.

Attachment: pgpu2J1PLRIFP.pgp
Description: PGP signature

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