문제

How to use perf to examine which parts of code run slowly? I came about these Links but still I could not understand the data generated which is something like this!So how do i understand the reports of perf and data generated by perf annotate?picture

도움이 되었습니까?

해결책

This Tutorial may help. As osgf said, you want to look for the "hottest" functions and instructions, that are where your program spent most of the time. Then think on how you can improve those areas. Make sure you have debug symbols so perf report gives you a more understandable output.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top