Tasks #825

Tasks #824: Measure CPU time via callgrind

Add Valgrind support

Added by Anonymous over 10 years ago. Updated about 10 years ago.

Status:ResolvedStart date:01/24/2012
Priority:NormalDue date:
Assignee:M. Rolf% Done:


Target version:-


  1. Include valgrind/callgrind.h
  2. Start instrumentation with the macro
  3. Stop instrumentation with the macro
  4. Execute callgind with the command line argument
    valgrind --tool=callgrind --instr-atstart=no $EXECUTABLE

(This can be done multiple times)

See Profiling sections of the code


#1 Updated by Anonymous over 10 years ago

  • Parent task set to #824

#2 Updated by M. Rolf about 10 years ago

  • Status changed from New to Resolved
  • Assignee set to M. Rolf
  • % Done changed from 0 to 100

Check it out:

 valgrind --tool=callgrind --instr-atstart=no ./examples/ExampleStlAccess -w 0 -i 0 -r 100

Also available in: Atom PDF