News for hackers. Stuff that matters.
Re:Avoiding Instruction Cache Misses by tempguy9999 on Saturday June 22, 2019 @12:24PM (#20250386)
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.

Re:Avoiding Instruction Cache Misses by opencl on Saturday June 22, 2019 @01:10PM (#20250607)
Several popular profiler tools (valgrind, visual studio profiler, dtrace, perfmon) can track cache miss rates.
Re:Avoiding Instruction Cache Misses by namibj on Saturday June 22, 2019 @04:52PM (#20251669)
perf-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.
Re:Avoiding Instruction Cache Misses by namibj on Saturday June 22, 2019 @04:55PM (#20251682)

  perf 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.