autofdo_tutorial:AutoFDO教程

上传者: 42109545 | 上传时间: 2022-11-21 20:14:55 | 文件大小: 19KB | 文件类型: ZIP
AutoFDO教程================ 该软件包将帮助您理解和自动化使用反馈驱动的优化过程,该教程分为三个部分: 1.基本认识 在此存储库中,您将找到一个sort.c文件,其中包含开始使用优化的排序算法,然后您需要阅读的文档,并按照以下步骤进行操作:比较不同类型的优化: GCC正常优化(只需将-O标志添加到gcc命令中) FDO(通过执行检测的二进制文件,它将数据输出到配置文件) AutoFDO(通过使用perf,它将对硬件事件进行采样以创建配置文件) 您可以在这里阅读有关使用优化标志的更多信息。 2.不同的用例 您可能会愿意优化一个包含不同二进制文件的程序包,这可能会导致多个二进制文件,因此我们在本教程中提供了一个示例。 每个二进制文件都包含不同的算法,并带有在执行结束时打印的计时量度,因此您无需实施任何时间测量工具。 GCC正常优化 如果您想知道FDO提高了多少性

文件下载

资源详情

[{"title":"( 19 个子文件 19KB ) autofdo_tutorial:AutoFDO教程","children":[{"title":"autofdo_tutorial-master","children":[{"title":".gitignore <span style='color:#111;'> 246B </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 3.07KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"debug.c <span style='color:#111;'> 324B </span>","children":null,"spread":false},{"title":"bubble_sort.c <span style='color:#111;'> 783B </span>","children":null,"spread":false},{"title":"pi_calculation.c <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false},{"title":"matrix_multiplication.c <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"main.c <span style='color:#111;'> 355B </span>","children":null,"spread":false}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 11.09KB </span>","children":null,"spread":false},{"title":"tools","children":[{"title":"install_autofdo.sh <span style='color:#111;'> 489B </span>","children":null,"spread":false},{"title":"generate_perf_data.sh <span style='color:#111;'> 1.51KB </span>","children":null,"spread":false},{"title":"gcov_generator.py <span style='color:#111;'> 5.92KB </span>","children":null,"spread":false},{"title":"generate_afdo.sh <span style='color:#111;'> 2.29KB </span>","children":null,"spread":false},{"title":"profile_generator.py <span style='color:#111;'> 5.28KB </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 4.28KB </span>","children":null,"spread":false},{"title":"include","children":[{"title":"definitions.h <span style='color:#111;'> 171B </span>","children":null,"spread":false},{"title":"bubble_sort.h <span style='color:#111;'> 150B </span>","children":null,"spread":false},{"title":"pi_calculation.h <span style='color:#111;'> 141B </span>","children":null,"spread":false},{"title":"debug.h <span style='color:#111;'> 81B </span>","children":null,"spread":false},{"title":"matrix_multiplication.h <span style='color:#111;'> 134B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明