lkml.org 
[lkml]   [2010]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: sched_clock - microblaze
From
Date
Michal,

On Thu, 2010-04-15 at 16:55 +0200, Michal Simek wrote:

> Is unimplemented sched_clock the reason why ftrace not show fine grain time?
>
> Or is there any other thing which is wrong?
>

I think that's it. On my platform we have a free-running 1 MHz counter
so I implemented a platform sched_clock for that, and I get nice ftrace
times.

0) + 65.000 us | finish_task_switch();
0) | lock_sock_nested() {
0) + 52.000 us | local_bh_disable();
0) + 53.000 us | local_bh_enable();
0) ! 264.000 us | }

Steve





\
 
 \ /
  Last update: 2010-04-15 17:09    [W:3.504 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site