Among other things, when you click on a draw command it shows you a thumbnail of the changes it made on the screen. It does this by saving and re-running the entire window render, highlighting the one command.
Like: simulate a.out
And it would give me a report for each line of code and tell me everything that happened on that line. Was it a cache miss? False sharing? Etc.
I would pay a lot for that software.
[0] https://access.redhat.com/documentation/en-us/red_hat_enterp...
Alternatively, the perf tools can show some values from the performance counters.
If you’re on intel, there is some interesting tooling in that sense (can’t recall the name now, sorry!). I’d love to see similar tooling for arm :(