Differences
This shows you the differences between two versions of the page.
software:valgrind [2010/07/20 08:17] cyril renice, add options |
software:valgrind [2013/09/19 16:40] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Valgrind ====== | ||
- | ===== General options ===== | ||
- | Syntax: **'' | ||
- | |||
- | * **'' | ||
- | * **'' | ||
- | * **'' | ||
- | |||
- | ===== Tools ===== | ||
- | ==== Memcheck ==== | ||
- | Memory checker (default tool). | ||
- | |||
- | Syntax: **'' | ||
- | |||
- | * **'' | ||
- | * **'' | ||
- | |||
- | |||
- | ==== Massif ==== | ||
- | Memory profiling. | ||
- | |||
- | Syntax: **'' | ||
- | |||
- | * **'' | ||
- | |||
- | ==== Callgrind ==== | ||
- | Performance profiling, to find time taken in functions and number of calls of functions. | ||
- | |||
- | Syntax: **'' | ||
- | |||
- | ==== Cachegrind ==== | ||
- | CPU cache profiling, to find cache misses. | ||
- | |||
- | Syntax: **'' | ||
- | |||
- | Always do profiling with optimization options of compiler, or you could optimize things that the compiler already automatically does. |