使用GPO(Profile-Guided Optimization)优化程序
来源:互联网 发布:双程网络剧 编辑:程序博客网 时间:2024/05/20 06:40
Intel编译器支持GPO(Profile-Guided Optimization)。GPO由一下三步组成。
第一步:使用/Qprof-gen编译程序,产生能记录运行细节的特殊程序。(Compile source with prof-gen or prof-genx options)
第二步:运行第一步产生的程序,生成动态信息文件(.dyn)。(Run the Instrumented Executable one or more times)
第三步,使用/Qprof-use,结合动态信息文件重新编译程序,产生更优化的程序。(Compile with prof-use option)
通过使用GPO,Intel编译器可以更详细得了解程序的运行情况,从而根据实际情况产生更优化的代码。比如优化条件跳转,使得CPU分支预测的能力更准确,又如决定哪些函数需要内联,哪些不要内联等。
此外,基于GPO还有很多的工具方便用户开发程序。比如Code-Coverage Tool可以进行代码覆盖测试。
- 使用GPO(Profile-Guided Optimization)优化程序
- Android profile-guided dex2oat
- Memory Hierarchy / Program Optimization(程序优化)
- Nginx优化(配置文件&内核参数)Nginx optimization (Profile & Kernel parameters)
- Optimization profile data with PGOMGR
- [python]用profile协助程序性能优化
- [python]用profile协助程序性能优化
- [python]用profile协助程序性能优化
- [python]用profile协助程序性能优化
- [python]用profile协助程序性能优化
- 用profile协助程序性能优化
- [python]用profile协助程序性能优化
- [python]用profile协助程序性能优化
- [python]用profile协助程序性能优化
- 用profile协助程序性能优化
- windows 7使用GPO统一桌面黑屏
- Gcc中使用profile工具优化代码
- Gcc中使用profile工具优化代码
- sd卡驱动+FAT文件系统(一)
- struts1.2+hibernate
- 编程提交表单
- Spring MVC国际化配置
- 在线编辑word文档代码
- 使用GPO(Profile-Guided Optimization)优化程序
- 在线编辑word文档 可保存到服务器
- 解说Win32的窗口子类化
- Linux command: sudo, df,du
- 在Delphi中的TreeView中保存多个数据
- C#Using用法
- “QQ尾巴病毒”核心技术的实现
- 捕获参数错误异常
- 理论指导实践啊~~~~