Mike Bailey
Mike Bailey

Reputation: 12817

Any way to profile code for cache behavior?

As the title says I'd like to somehow get the cache behavior of my code. I'm running Windows 7 64-bit edition, compiling on Visual Studio 2008 Professional Edition, compiling C++ code.

I understand that there's Valgrind under Linux, but are there any free alternatives I could use, or methods otherwise?

Upvotes: 3

Views: 1045

Answers (2)

M. Williams
M. Williams

Reputation: 4985

Try AQTime. I'm pretty sure that some of it options include cache profiling.

Upvotes: 0

Nikolai Fetissov
Nikolai Fetissov

Reputation: 84239

VTune will give you pretty detailed cache and pipeline analysis. It's not cheap though. I believe some level/edition of VS (I remember it was "team edition" on XP) had a decent profiler.

Upvotes: 1

Related Questions