jeudi 19 mars 2015

How to set start and end of profiling on Valgrind


To create the profile dump on valgrind, one does:


valgrind --tool=callgrind program [program_options]


[from http://ift.tt/1jZaR6z ]


I would like to set the start and end of the profiling within some source files. For example


start main.cpp:30 stop main.cpp:44


I think of this having profiled using this technique on Android. Is this possible on Valgrind ?




Aucun commentaire:

Enregistrer un commentaire