首页> 外国专利> PROFILE GUIDED OPTIMIZATION IN THE PRESENCE OF STALE PROFILE DATA

PROFILE GUIDED OPTIMIZATION IN THE PRESENCE OF STALE PROFILE DATA

机译:在存在分段轮廓数据的情况下进行轮廓引导优化

摘要

Profile guided optimization (PGO) in the presence of stale profile data as described herein can be based on path profiling, whereby different paths through a program's call graph are uniquely identified. Stale profile data is data collected in a training run of a previous version of the program. Profile data can be collected along these paths and optimization decisions can be made using the collected data. The paths can be numbered using an algorithm that assigns path increments to all the callees of a function. The path increment assignments (which can be stored in the profile database) can be used to locate the profile data for that path and to make corresponding optimization decisions. PGO optimizations along call graph paths involving edited functions can be performed.
机译:如本文所述,在存在陈旧的配置文件数据的情况下,配置文件引导的优化(PGO)可以基于路径分析,从而可以唯一地识别通过程序调用图的不同路径。过时的配置文件数据是在程序的早期版本的训练运行中收集的数据。可以沿着这些路径收集配置文件数据,并可以使用收集的数据来做出优化决策。可以使用将路径增量分配给函数的所有被调用者的算法对路径进行编号。路径增量分配(可以存储在轮廓数据库中)可用于定位该路径的轮廓数据并做出相应的优化决策。可以执行涉及已编辑功能的调用图路径上的PGO优化。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号