Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| pmctools:pmckcachegrind [2009/11/29 12:24] – FabienThomas | pmctools:pmckcachegrind [2010/03/09 22:55] (current) – FabienThomas | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | [[/ | + | [[/ |
| + | |||
| + | Sample command: | ||
| + | |||
| + | pmcstat -Sinstructions -O/ | ||
| + | |||
| + | pmcstat -R/ | ||
| + | |||
| + | / | ||
| + | |||
| + | Tips: | ||
| + | * you can add formula to the file or with the editor in kcachegrind | ||
| + | * " | ||
| + | * call count is actually roughly estimated by detecting when two consecutive sample hit with a distance > 1 | ||
| + | |||
| + | Sample output for graph view: | ||
| + | |||
| + | {{pmctools/ | ||
| + | |||
| + | Sample output for source view (C+asm): | ||
| + | |||
| + | {{pmctools/ | ||
| + | |||
| + | Sample output for full frame capture: | ||
| + | |||
| + | {{pmctools/ | ||