• [^] # Re: valgrind

    Posté par . En réponse à la dépêche Nouveaux drivers NVidia. Évalué à 1.

    apt-cache show valgrind
    [ ... ]
    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.

    On peut aussi l'utiliser pour vérifier les performances d'un programme et voir quelles sont les fonctions qui prennent le plus de temps. A utiliser avec kcachegrin