Revision 707069

Go back to digest for 2nd September 2007

Features in Development Tools

Josef Weidendorfer committed changes in /trunk/KDE/kdesdk/kcachegrind/kcachegrind:

kcachegrind: arrow thickness relates to call cost now

Take advantage of Qt4 painting features by adjusting the arrow thickness in the call graph according to the call cost (actually, thickness is logaritmic to cost).

The same is done in the panner view, which makes the most used call chain quite obvious now.

Consequently, the call cost itself is not so interesting any more as explicit annotation. More interesting is the call count now. Cost percentage is still visible in the icon. This somehow makes the call graph even less cleaner.

IMHO looks quite cool now ;-) I already wanted to do this long ago, but this simply was not possible with Qt3, as it used the line drawing in the X server, and thus the thickness was not adjustable at all...

File Changes

Modified 2 files
  • /trunk/KDE/kdesdk/kcachegrind/kcachegrind
  •   /callgraphview.cpp
  •   /callgraphview.h
2 files changed in total