* Now use two views when starting (one memory, one CPU usage). The third view

that is added to the window is a networking monitor, all later views default
  to CPU usage again.
* DataSources can now share a single adaptive scale, so that they become
  comparable in a single view.
* The networking in/out sources are now using this feature.
* DataHistory::ValueAt() now uses binary search to find the right data_item;
  this also fixes bug #2140, and makes it possible to change the refresh rate
  (which is not yet implemented, though).
* Zooming the timeline now also works by clicking the first mouse button and
  dragging the mouse around (instead of only via the scroll wheel, in case you
  hadn't noticed yet :-)).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26409 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2008-07-14 17:29:02 +00:00
parent d4a18674e3
commit 51591198d6
6 changed files with 198 additions and 27 deletions
+7
View File
@@ -176,6 +176,13 @@ DataSource::AdaptiveScale() const
}
scale_type
DataSource::ScaleType() const
{
return kNoScale;
}
int32
DataSource::CPU() const
{