sched_clock - microblaze

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Michal Simek
Date: Thursday, April 15, 2010 - 7:55 am

Hi Thomas and Steven,

I would like to improve time measuring for ftrace (Log below)

I looked at http://lkml.org/lkml/2009/11/16/181
where Thomas suggested to create sched_clock() function.
I used the same solution as Wu proposed but it is not nice.

Is unimplemented sched_clock the reason why ftrace not show fine grain time?

Or is there any other thing which is wrong?

Thanks,
Michal



Dumping ftrace buffer:
---------------------------------
  0) ! 10000.00 us |                                }
  0)   <========== |
  0) ! 10000.00 us |                            }
  0) ! 10000.00 us |                          }
  0)   0.000 us    |                          get_seconds();
  0)   0.000 us    |                          tcp_rcv_rtt_update();
  0)   0.000 us    |                          tcp_ack();
  0)   0.000 us    |                          tcp_rcv_rtt_update();
  0)   0.000 us    |                          tcp_urg();
  0)               |                          tcp_data_queue() {
  0)   0.000 us    |                            __sk_mem_schedule();
  0)   0.000 us    |                            tcp_event_data_recv();
  0)   0.000 us    |                            sock_def_readable();
  0)   0.000 us    |                          }
  0)   0.000 us    |                          tcp_check_space();
  0)               |                          __tcp_ack_snd_check() {


-- 
Michal Simek, Ing. (M.Eng)
PetaLogix - Linux Solutions for a Reconfigurable World
w: www.petalogix.com p: +61-7-30090663,+42-0-721842854 f: +61-7-30090663
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
sched_clock - microblaze, Michal Simek, (Thu Apr 15, 7:55 am)
Re: sched_clock - microblaze, Steven Rostedt, (Thu Apr 15, 8:04 am)
Re: sched_clock - microblaze, Steven J. Magnani, (Thu Apr 15, 8:06 am)
Re: sched_clock - microblaze, Michal Simek, (Thu Apr 15, 9:21 am)
Re: sched_clock - microblaze, Michal Simek, (Thu Apr 15, 9:32 am)
Re: sched_clock - microblaze, Wu Zhangjin, (Thu Apr 15, 10:18 am)
Re: sched_clock - microblaze, Wu Zhangjin, (Thu Apr 15, 11:12 am)
Re: sched_clock - microblaze, Thomas Gleixner, (Thu Apr 15, 11:26 am)
Re: sched_clock - microblaze, Michal Simek, (Thu Apr 15, 12:29 pm)
Re: sched_clock - microblaze, Arnd Bergmann, (Thu Apr 15, 12:52 pm)
Re: sched_clock - microblaze, Michal Simek, (Thu Apr 15, 11:23 pm)
Re: sched_clock - microblaze, Arnd Bergmann, (Fri Apr 16, 1:37 am)
Re: sched_clock - microblaze, Michal Simek, (Fri Apr 16, 2:11 am)