2 ms·
How would you know it's happening? How would you know it's not? How have you measured/looked? I'm know little about this area, so I'm curious.
by tempguy9999 7y ago
How would you know it's happening? How would you know it's not? How have you measured/looked?
I'm know little about this area, so I'm curious.
- opencl 7y agoSeveral popular profiler tools (valgrind, visual studio profiler, dtrace, perfmon) can track cache miss rates.
- namibj 7y agoperf-tools are my favorite. The overhead is negligible, and thus any metrics you gather are very accurate. Valgrind is rarely useful, considering the execution time disadvantage.
- namibj 7y agoperf record -e icache.ifdata_stall ./test-program-binary followed by perf report or, for fancy viewing, use hotspot from KDAB. This is on linux, btw, but it should work fine with wine.