3 ms·
Pardon me for being layman on this topic. How/What is this used for? I've used a similar tool for Shaders and it was very useful for understanding where the G
by codetiger 4y ago
Pardon me for being layman on this topic.
How/What is this used for?
I've used a similar tool for Shaders and it was very useful for understanding where the GPU spends time. However, do we need that level of details for CPU based applications.
- capableweb 4y agoIf you can understand it's useful for understanding how the GPU spends its time, why wouldn't that same understanding be useful for the CPU? Or anything else? Doing optimizations requires good tooling, no matter what it runs on.
- codetiger 4y agoMy doubt is, what kind of application needs this level of optimisation on CPU based application? Shaders are very bad at certain things like conditional statements. So we usually do that level of analysis to avoid. And the application is for Games or graphics heavy applications. In the same manner, what kind of application goes through this level of details?
- capableweb 4y agoIn my own experience, tools like this are most useful when I write something and it's unexpectedly fast/slow and I don't understand why without diving deeper. Especially when it comes to unexpected slowdowns (expected something to take 1x time but it takes 100x time instead). Being able to inspect the generated assembly usually reveals the cause, and this tool improves being able to jump to the right place, as there tends to be a lot of assembly generated even for small snippets of code, so finding the right place can take some time.
- pjmlp 4y agoAnyone writing code where perfomance matters, surely needs them, they are even willing to pay for such tools down to micro-ops. e.g. Intel VTune.