gpt4 book ai didi

c++ - 如何分析Windows上运行的C++代码?

转载 作者:行者123 更新时间:2023-12-02 10:01:38 25 4
gpt4 key购买 nike

我有一个运行在Windows10(AMD Ryzon处理器)上的C++应用程序,正在对它进行基准测试和优化。
谁能推荐AMD Ryzen处理器下的性能分析工具?

最佳答案

例如,有一些来自AMD的分析器

https://developer.amd.com/amd-uprof/

AMD uProf supports the 64-bit version of the following Operating Systems: ... Microsoft Windows 10 (up to May 2019 Update)

AMD uProf supports following application environment: Languages: C, C++, ...

AMD uProf profiler follows a statistical sampling-based approach to collect profile data to identify the performance bottlenecks in the application. The profile data collection can be triggered by – 6OS timer, core PMC events and IBS. AMD uProf offers user friendly UI to view and analyze the profile data thereby helps to optimize wide variety of applications, drivers, game engines etc.



因此,它支持硬件和软件事件,并且可以进行采样分析。

也有 AMD CodeAnalyst / CodeXL分析器,但是现在下载 https://community.amd.com/thread/159836并不容易。

英特尔VTune商业分析器也可以在AMD芯片上工作,但没有完全支持硬件事件。软件事件应该起作用。

关于c++ - 如何分析Windows上运行的C++代码?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62304516/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com