Cachegrind not showing function-level results?

378 Views Asked by At

I am profiling my C++ application with Valgrind's Cachegrind, using this terminal line:

valgrind --branch-sim=yes --tool=cachegrind ./myProgram

and from the online guides I have seen this should automatically present function-level profiling results. However, I am only getting the program-level results.

What else do I need to specify to see the results for each function?

UPDATE

Ok I needed to run this:

cg_annotate cachegrind.out.XXXX

to get the function-level results.

0

There are 0 best solutions below