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:
pgp00251.pgp
Description: PGP signature