From: David F. B. <df...@wa...> - 2008-08-02 01:56:32
|
there is a new facility for creating streams of time intervals that include a "state" variable, which would do what you want. unfortunately, this is not yet exposed in the trace generation libraries, so to use it you'd have to generate the primitive events in the trace and then create an event typespace in tuningfork that would build the streams you need. however, you could also try using an oscilloscope figure and using the "interleaving mode" in the configuration dialog. that wouldn't require any programmatic changes, and might give you what you need. david On Aug 1, 2008, at 7:36 PM, Donnie Jones wrote: > Hello, > > I uploaded another screenshot for example. I would like to > accomplish this same horizontal bar timeline graph but with each > threads execution "states" on its own horizontal line. > > Screenshot: > http://darthik.com/tuning_fork/ghc/images/screenshot- > TfCapTimerEventsMultFeedlets.png > > Thank you. > __ > Donnie Jones > > > On Fri, Aug 1, 2008 at 7:31 PM, Donnie Jones <do...@da...> > wrote: > Hello, > > I have a follow-up question. If I have two threads executing, and > I want to create a timeline graph of the "state" changes of each > thread. The "states" are the same EventTypes for each thread, thus > when I graph the threads "state" changes the TimeIntervalStream > that is created combines the events into a single stream for each > "state". I would like to graph an individual horizontal bar with > colored "states" for each thread. > > Any suggestions? > Thanks again. > __ > Donnie Jones > > > On Thu, Jul 31, 2008 at 9:24 PM, Donnie Jones <do...@da...> > wrote: > Hello David, > > That worked. Thank you. > __ > Donnie > > > On Thu, Jul 31, 2008 at 7:27 PM, David F. Bacon > <df...@wa...> wrote: > select "cycle through display modes" from the dropdown in the > figure (or use the button with the same icon). i think this will > give you what you want. > > david > > > On Jul 31, 2008, at 7:11 PM, Donnie Jones wrote: > >> Hello, >> >> I am attempting to create a timeline graph of the changes in >> "states" of execution for the Glasgow Haskell Compiler (GHC) Run- >> time System (RTS). I would like to be able to create a timeline >> graph which has a single horizontal bar (same location on the y- >> axis) in which the colors change for the different "states". So >> far, I have only been able to accomplish timeline graphs where the >> different states are on separate horizontal bars on the y-axis in >> the timeline; I have linked a screenshot of such a graph [1]. >> This graph was created as a TimeIntervalStream in which each >> TimerEvent was a different "state" of execution. >> >> Any suggestions would be great. >> Thank you. >> __ >> Donnie Jones >> >> 1. http://darthik.com/tuning_fork/ghc/images/screenshot- >> TfCapTimerEvents.png >> >> >> >> --------------------------------------------------------------------- >> ---- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win >> great prizes >> Grand prize is a trip for two to an Open Source event anywhere in >> the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Tuningforkvp-users mailing list >> Tun...@li... >> https://lists.sourceforge.net/lists/listinfo/tuningforkvp-users > > > > |