Chapter 4. Command Reference

The main KCachegrind window

The File Menu

FileNew (Ctrl+N)

Opens an empty top-level window in which you can load profile data. This action is not really necessary, as FileOpen gives you a new top-level window if the current one already shows some data.

FileOpen (Ctrl+O)

Pops up the KDE file selector to choose a profile data file to be loaded. If there is some data already shown in the current top-level window, this will open a new window; if you want to open additional profile data in the current window, use FileAdd.

The name of profile data files usually ends in .pid.part-threadID, where part and threadID are optional. pid and part are used for multiple profile data files belonging to one application run. By loading a file ending only in pid, any existing data files for this run with additional endings are loaded as well.

If there exist profile data files cachegrind.out.123 and cachegrind.out.123.1, by loading the first, the second will be automatically loaded too.

FileAdd

Adds a profile data file to the current window. Using this, you can force multiple data files to be loaded into the same top-level window even if they are not from the same run, as given by the profile data file naming convention. For example, this can be used for side-by-side comparison.

FileReload (F5)

Reload the profile data. This is useful when another profile data file was generated for an already loaded application run.

FileQuit (Ctrl+Q)

Quits KCachegrind