Using KCachegrind

Complete: 3

Goal of the page

This page is intended to provide a short introduction to the kcachegrind tool and its usage to analyze the performance of CMS offline code

Contacts

Vincenzo Innocente
Robin Moser

Introduction

KCachegrind is s a visualization tool for the profiling data generated by Cachegrind and Callgrind (they profile data file format is upwards compatible). But as most visualization possibilities of KCachegrind depend on call relationships, you get much more out of it if your are using Callgrind as profile tool.

KCachegrind can also be used to visualize the results of other profiling tools if a converter to the callgrind format is provided. This is the case for both OProfile and CMS.IgProf.

Usage

KCachegrind is part of the KDE distribution and therefore available on most of the Linux distributions. Versions for other operating systems such as MacOS are also available. CMS distributes its own version of KCachegrind. We recommend therefore to use the version made available in the CMSSW runtime environment. To start KCachegrind just type kcachegrind& in a shell initialized with the CMSSW runtime environment. KCachegrind is available in SLC4 as part of the kdesdk package.

Documentation

Please refer to the official documentation available on the web or with the KDE distribution.

Examples

For more example and a tutorial on how to use KCachegrind with cms offline software please refer to the workbook.

Review status

Reviewer/Editor and Date (copy from screen) Comments
KatiLassilaPerini - 15 Mar 2007 created template page

Responsible: VincenzoInnocente
Last reviewed by: Most recent reviewer

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r4 - 2008-08-07 - ThomasThemel



 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    CMSPublic All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback