Profiling:Linux:Callgrind
From FIFE development wiki
Introduction
This article covers how to profile FIFE with the callgrind tool under Linux.
Required software
Howto
- Download and install valgrind.
- Download and install callgrind.
- Download and install KCachegrind (requires KDE base files).
- valgrind --tool=callgrind python2.5 run.py (or: valgrind --tool=callgrind python2.5 <python_script>).
- Open the generated profile log with KCachegrind.