Questions tagged [callgrind]

Callgrind is a profiling tool that records call history among functions in a program's run as a call-graph. By default, the collected data consists of the number of instructions executed, their relationship to source lines, the caller/callee relationship between functions, and the numbers of such calls. Optionally, cache simulation and/or branch prediction (similar to Cachegrind) can produce further information about the runtime behavior of an application.

121 questions
-2
votes
1 answer

Benchmark a single function

How do you benchmark a function? Looking at results from callgrind, I have found that my program spends a lot of time in pow. Since I do not need full working precision, I thought that I could create a look-up-table and use linear interpolation…
user877329
  • 6,717
  • 8
  • 46
  • 88
1 2 3
…
8
9