Review Request: New KSignalPlotter graph for plotting continuous data as it comes in
John Tapsell
johnflux at gmail.com
Sat Aug 29 11:45:30 BST 2009
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/1430/
-----------------------------------------------------------
Review request for kdelibs.
Summary
-------
This is used by KSysGuard to plot network usage etc. I want to make it available for other people to use.
It is really quite feature-full, and uses a sliding window technique to minimize CPU usage for drawing. On my system (dual core 3Ghz), drawing three of these graphs updating every 0.5 seconds takes about 1% of the CPU usage.
Diffs
-----
trunk/KDE/kdeui/plotting/KSignalPlotter.h PRE-CREATION
trunk/KDE/kdeui/plotting/KSignalPlotter.cpp PRE-CREATION
trunk/KDE/kdeui/plotting/KSignalPlotter_p.h PRE-CREATION
Diff: http://reviewboard.kde.org/r/1430/diff
Testing
-------
It has been used in KSysGuard for ages.
It has no unit tests however :-/
Screenshots
-----------
Screenshot in action
http://reviewboard.kde.org/r/1430/s/191/
Thanks,
John
More information about the kde-core-devel
mailing list