4 ms·
Have you looked at Shark? It can show you where your program most frequently encounters L2 cache misses (or really any event your cpu has a hardware performanc
by minimax 15y ago
Have you looked at Shark? It can show you where your program most frequently encounters L2 cache misses (or really any event your cpu has a hardware performance counter to track). Intel VTune and the "perf" tool from the Linux kernel also perform similarly.
- kenferry 15y agoYes, I have. I wouldn't count the raw performance counters as easy to use, though. They're usable by experts familiar with the specific chip being profiled. Getting actual latency as opposed to misses and particularly visualizing it is maybe possible, but compare that to the profiling situation - hit a button, get data anyone can understand.