public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* schedulevisualizer
@ 2010-10-29  8:15 tom.deblauwe
  2010-10-29  8:31 ` schedulevisualizer Cristian Falcas
  0 siblings, 1 reply; 3+ messages in thread
From: tom.deblauwe @ 2010-10-29  8:15 UTC (permalink / raw)
  To: systemtap

Hello,

Thanks for making systemtap, I like it! :)

Secondly: I have made a little script variation that prints out processing times per thread within a certain process. Also, I made a little Qt 4 application called "ScheduleVisualizer" that visualises the output per thread. It's easy to build using Qt Creator. 
Also included is my other Qt test application "MultiThread" that I used for making testing this script. You also need to compile it using Qt.

Usage is like this:

- Run your program somewhere, in my case "MultiThread"
- In another console, do: 'stap schedule.stp pid $(pidof MultiThread) -c "sleep 30"'
- This will monitor the multithread program for 30 seconds and then quit. Now copy the output to a text file.
- Open the text file in ScheduleVisualizer. Now you see the task switches!

It may be useful so I thought I'll share it here. Another reason is that my approach may be wrong or there may be a better way so I would like to hear it :)

Thanks
Best regards
Tom,

^ permalink raw reply	[flat|nested] 3+ messages in thread
[parent not found: <AANLkTiky6F9YHR9EpUnBkWaDfbFVtAbfuNNZyCEpMhyC@mail.gmail.com>]

end of thread, other threads:[~2010-10-29  8:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-29  8:15 schedulevisualizer tom.deblauwe
2010-10-29  8:31 ` schedulevisualizer Cristian Falcas
     [not found] <AANLkTiky6F9YHR9EpUnBkWaDfbFVtAbfuNNZyCEpMhyC@mail.gmail.com>
2010-10-29  8:33 ` schedulevisualizer tom.deblauwe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).