The Flat Profile contains a group list and a function list. The group list contains all groups where cost is spent in, depending on the chosen group type. The group list is hidden when grouping is switched off.
The function list contains the functions of the selected group (or all functions if grouping is switched off), ordered by some column, e.g. inclusive or self costs spent therein. There is a maximum number of functions shown in the list, configurable in → .
In a profile run, multiple profile data files can be produced, which can be loaded together into KCachegrind. The Parts Overview sidedock shows these, ordered horizontally according to creation time; the rectangle sizes are proportional to the cost spent each part. You can select one or several parts to constrain the costs shown in the other KCachegrind views to these parts only.
The parts are further subdivided between a partitioning and an inclusive cost split mode:
- Partitioning Mode
The partitioning is shown in groups for a profile data part, according to the group type selected. For example, if ELF object groups are selected, you see colored rectangles for each used ELF object (shared library or executable), sized according to the cost spent therein.
- Diagram Mode
A rectangle showing the inclusive cost of the current active function in the part is shown. This, again, is split up to show the inclusive costs of its callees.
This is a purely fictional “most probable” call stack. It is built up by starting with the current active function, and adds the callers and callees with highest cost at the top and to bottom.
The Cost and Calls columns show the cost used for all calls from the function in the line above.