linux-mips
[Top] [All Lists]

Re: [PATCH] MIPS: Add sched_clock() to csrc-octeon.c

To: David Daney <ddaney@caviumnetworks.com>
Subject: Re: [PATCH] MIPS: Add sched_clock() to csrc-octeon.c
From: Ralf Baechle <ralf@linux-mips.org>
Date: Thu, 24 Dec 2009 15:06:55 +0100
Cc: linux-mips@linux-mips.org
In-reply-to: <1261603134-27310-1-git-send-email-ddaney@caviumnetworks.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1261603134-27310-1-git-send-email-ddaney@caviumnetworks.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.20 (2009-08-17)
On Wed, Dec 23, 2009 at 01:18:54PM -0800, David Daney wrote:

> With the advent of function graph tracing on MIPS, Octeon needs a high
> precision sched_clock() implementation.  Without it, most timing
> numbers are reported as 0.000.
> 
> This new sched_clock just uses the 64-bit cycle counter appropriately
> scaled.

Thanks, applied!

  Ralf

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