public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* sched_clock - microblaze
@ 2010-04-15 14:55 Michal Simek
  2010-04-15 15:04 ` Steven Rostedt
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Michal Simek @ 2010-04-15 14:55 UTC (permalink / raw)
  To: Thomas Gleixner, Steven Rostedt, LKML; +Cc: Wu Zhangjin

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2010-04-16  9:11 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-15 14:55 sched_clock - microblaze Michal Simek
2010-04-15 15:04 ` Steven Rostedt
2010-04-15 16:32   ` Michal Simek
2010-04-15 18:12     ` Wu Zhangjin
2010-04-15 19:29       ` Michal Simek
2010-04-15 19:52         ` Arnd Bergmann
2010-04-16  6:23           ` Michal Simek
2010-04-16  8:37             ` Arnd Bergmann
2010-04-16  9:11               ` Michal Simek
2010-04-15 15:06 ` Steven J. Magnani
2010-04-15 16:21   ` Michal Simek
2010-04-15 18:26     ` Thomas Gleixner
2010-04-15 17:18 ` Wu Zhangjin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox