Fix for Red Hat BZ 981146: pmchart in archive mode uses wrong (old)
update interval when loading additional views
Changes committed to git://oss.sgi.com/markgw/pcp/pcp-gui.git dev
commit 59034d4eac4e48d2897b93a0ba97549fdec80add
Author: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Date: Fri Jul 12 15:12:10 2013 +1000
pmchart - preserve the current update interval when loading a view
In archive mode, pmchart "forgets" the current update interval after
loading a second view - it falls back to the original default update
interval from when pmchart was first started - but only for the new
chart(s) - existing charts are still correct but obviously inconsistent
with the new charts because they are plotted with different update
intervals.
To Reproduce:
1. run pmchart -a somearchive -c CPU
2. expose the time controls and change the update interval
3. load some another view, say Loadavg
Actual results:
pmchart creates the second view, but with the original update interval that
pmchart was first started with
Expected results:
pmchart should create the second view using the current update interval
modified: src/chart/groupcontrol.cpp
modified: src/chart/timecontrol.h
|