]> sourceware.org Git - systemtap.git/commit
option to display graph times relative to the start time
authorTim Moore <timoore@redhat.com>
Mon, 7 Dec 2009 11:43:56 +0000 (12:43 +0100)
committerTim Moore <timoore@redhat.com>
Mon, 7 Dec 2009 11:43:56 +0000 (12:43 +0100)
commit5891de489db0e172162279247fb633a719fa3756
tree2cda126a35ebe9ba130299455f515618b4ab898b
parente88061ec1fb047b65c247424dbadb10a85ff69ae
option to display graph times relative to the start time

This avoids having humongous numbers displayed on the graphs' x
axis. Also, the dialog for adding a data set to a graph was cleaned
up.

* grapher/graph-dialog.glade: Add check box for display of relative
  time and a label for the data set list. Force the list of data sets
  to be larger.
* grapher/Graph.hxx (_timeBase): new member
* grapher/Graph.cxx (draw): Subtract _timeBase from displayed time
  value.
* grapher/GraphWidget.hxx (DataModelColumns): Add a column for a data
  set's title, which is optional at the moment.
* grapher/GraphWidget.hxx (_globalTimeBase, _timeBaseInitialized,
  _relativeTimesButton, _displayRelativeTimes): new members
* grapher/GraphWidget.hxx (GraphWidget): Hook up check button for
  displaying relative time.
  (on_expose_event): Determine base time if needed; set base time in
  graphs.
  (onDataDialogOpen): Insert graph data set's name (key) and title
  into the list of data sets.
grapher/Graph.cxx
grapher/Graph.hxx
grapher/GraphWidget.cxx
grapher/GraphWidget.hxx
grapher/graph-dialog.glade
This page took 0.030563 seconds and 5 git commands to generate.