This forum has been archived. All content is frozen. Please use KDE Discuss instead.

fluid plasmoid data monitoring

3

Votes
3
0
Tags: plasma plasma plasma
(comma "," separated)
flo
Registered Member
Posts
22
Karma
0
OS
There are some plasmoids that monitor data (for instance CPU usage, memory usage, network traffic, ...). Most of them disallow to poll the data more often than 200ms (or similar values). However this way the graph scrolling is not smooth.
Just increasing the poll-rate would however not be the right solution, as the graph would scroll too fast.
My suggestion:
- provide a framework that gathers the data every ~50ms and updates the graph accordingly. But instead of shifting the whole graph by one pixel at each data-update shift by a much slower amount (like .2 pixels) and show an antialiased output.
- Provide different ways show the accumulated data. For instance by using a logarithmic time-scale. This way new values would be easily visible, but older values would be increasingly merged.

Furthermore (and I could copy this into a new thread). In order to save energy (for instance on a battery-operated notebook):
- the frequency of updates should be controlled by plasma (or the one responsible for power-management).
- all updates should be coordonated by one update-handler. This way there would be only CPU wakeup for all monitoring plasmoids.
* Ideally _all_ KDE applications should (and maybe are already?) use the same timer for animation-updates.

// florian

Last edited by bcooksley on Sat Mar 28, 2009 12:08 am, edited 1 time in total.
User avatar
Primoz
Moderator
Posts
859
Karma
1
OS
Next time please add [TAG] to your idea. Thanks.


Primoz, proud to be a member of KDE forums since 2008-Nov.


Bookmarks



Who is online

Registered users: Bing [Bot], gfielding, Google [Bot], Sogou [Bot]