Questions tagged [cachegrind]

Cachegrind simulates how your program interacts with a machine's cache hierarchy and (optionally) branch predictor. It simulates a machine with independent first-level instruction and data caches (I1 and D1), backed by a unified second-level cache (L2).

32 questions
0
votes
1 answer

Trouble configuring cachegrind with Xdebug

I am trying to configure Xdebug for cachegrind but I can't manage to enable the profiler feature in order to dump executed web pages. I'm using the official guide (and a few more with similar settings) and it doesn't seem to work. I've tried on…
Mario Peshev
  • 1,063
  • 8
  • 16
0
votes
1 answer

cachegrind counts do not reflect real performance

Two versions of the same algorithm yield different total instruction fetch counts and cycle estimations under valgrind/cachegrind. The difference is about 25%. Process timing, however, is very similar (it is actually shorter for the cachegrind-slow…
Arek' Fu
  • 826
  • 8
  • 24
1 2
3