Je ne l'ai pas encore vu dans les commentaires, je signale donc l'existence de l'excellent Valgrind. À associer à kcachegrind pour exploiter graphiquement les résultats.
Voila la description debian de Valgrind :
Description: A memory debugger for x86-linux
Valgrind is a GPL'd tool to help you find memory-management problems in your programs. When a program is run under Valgrind's supervision, all reads and writes of memory are checked, and calls to malloc/new/free/delete are intercepted.
.
Valgrind can debug more or less any dynamically-linked ELF Linux x86 executable, without modification, recompilation, or anything, as long as it contains only classic x86 code (MMX/SSE/SSE2/3DNow! largely unsupported for the moment). There is experimental support for programs using libpthread.
.
A satellite program, cachegrind, can be used for processor-level (simulated) cache analysis.
# Re: Optimiser un programme C++
Posté par jigso . En réponse au journal Optimiser un programme C++. Évalué à 3.
Voila la description debian de Valgrind :
Description: A memory debugger for x86-linux
Valgrind is a GPL'd tool to help you find memory-management problems in your programs. When a program is run under Valgrind's supervision, all reads and writes of memory are checked, and calls to malloc/new/free/delete are intercepted.
.
Valgrind can debug more or less any dynamically-linked ELF Linux x86 executable, without modification, recompilation, or anything, as long as it contains only classic x86 code (MMX/SSE/SSE2/3DNow! largely unsupported for the moment). There is experimental support for programs using libpthread.
.
A satellite program, cachegrind, can be used for processor-level (simulated) cache analysis.