Revision 541697

Go back to digest for 21st May 2006

Optimization in KDE Base

John Tapsell committed changes in /trunk/KDE/kdebase/workspace/ksysguard/gui:

Lots of changes. I really need to find some de-centrallised way to code using svn - massive commits are
awful.

* Drastically increase performance. CPU usage is halved
* Even more drastically decrease start up time - from 3.5 seconds down to 1.5 seconds
* Add a check box (and code behind it) to hide/show CPU totals for a process and it's children
* Make sorting by user smart - it will sort by current user, other user, then system users
* When sorting by user, sub sort by CPU. See 109684. Sorting by user is really nice now, so will become the default
real soon.
* Lots more error checking for sensors.
* Tooltip for a process's CPU usage shows a friendly description of running/stopped/waiting etc
* Try to tell if a user is a human user or not by whether their login shell is valid. This is hackish, but if wrong
it just means that user is sorted wrongly. It does help a lot in the sorting.
* Add a little red X icon next to apps that are in the Stopped state
* Show debugged processes at the top of the sort, since those are probably important if you are debugging it.


File Changes

Modified 31 files
  • /trunk/KDE/kdebase/workspace/ksysguard/gui
  •   /ksysguard.cc
  •   /ksysguard.h
  •   /SensorBrowser.cc
  •   /SensorBrowser.h
  •   /WorkSheet.cc
  •   /Workspace.cc
  •   /ksgrd/CMakeLists.txt
  •   /ksgrd/SensorAgent.cc
  •   /ksgrd/SensorAgent.h
  •   /ksgrd/SensorClient.h
  •   /ksgrd/SensorShellAgent.cc
  •   /ksgrd/SensorSocketAgent.cc
  •   /SensorDisplayLib/DancingBars.cc
  •   /SensorDisplayLib/DancingBars.h
  •   /SensorDisplayLib/FancyPlotter.cc
  •   /SensorDisplayLib/FancyPlotter.h
  •   /SensorDisplayLib/ListView.cc
  •   /SensorDisplayLib/ListView.h
  •   /SensorDisplayLib/LogFile.cc
  •   /SensorDisplayLib/LogFile.h
  •   /SensorDisplayLib/MultiMeter.cc
  •   /SensorDisplayLib/MultiMeter.h
  •   /SensorDisplayLib/Process.h
  •   /SensorDisplayLib/ProcessController.cc
  •   /SensorDisplayLib/ProcessController.h
  •   /SensorDisplayLib/ProcessFilter.cc
  •   /SensorDisplayLib/ProcessModel.cc
  •   /SensorDisplayLib/ProcessModel.h
  •   /SensorDisplayLib/ProcessWidgetUI.ui
  •   /SensorDisplayLib/SensorLogger.cc
  •   /SensorDisplayLib/SensorLogger.h
31 files changed in total