Re:Software optimization resources for C++, assembly, Window...
by dgellow on Saturday March 07, 2020 @02:31PM
(#22513480)
What tools exist to analyze use of pipelines and caches?
[ Parent
| on HN ]
Re:Software optimization resources for C++, assembly, Window...
by H8crilA on Saturday March 07, 2020 @02:42PM
(#22513563)
https://en.m.wikipedia.org/wiki/Perf_(Linux)
It is all powered by hardware support in CPUs. Intel CPUs have 3 programmable counters, you can set them to trace events, like instructions retired or Ln cache misses.