首页> 外国专利> COLLECTING PROFILE DATA FOR MODIFIED GLOBAL VARIABLES

COLLECTING PROFILE DATA FOR MODIFIED GLOBAL VARIABLES

机译:收集配置文件数据以修改的全局变量

摘要

A PGO compiler can instrument an executable to collect profile data from which global variables that were modified during the execution of a training executable can be identified. PGO optimization using a list of modified global variables identified from the profile data can be used to optimize a program in a second compilation phase. The global variables that were modified during the training run are identified by capturing a current snapshot of global variables and comparing their state to a baseline snapshot to ascertain the addresses of global variables that were modified. The addresses that changed can be mapped to global variable names to create a list of global variables that were modified during execution of the training executable. The list of global variables that have been modified can be to enable the compiler to perform optimizations such as but not limited to co-locate the modified global variables in memory.
机译:PGO编译器可以对可执行文件进行检测,以收集配置文件数据,从中可以识别出在训练可执行文件执行期间修改的全局变量。使用从概要文件数据中识别出的修改后的全局变量的列表进行的PGO优化可用于在第二个编译阶段中优化程序。通过捕获当前全局变量快照并将它们的状态与基准快照进行比较,以确定已修改的全局变量的地址,可以识别出在训练运行期间修改的全局变量。可以将更改后的地址映射到全局变量名称,以创建在训练可执行文件执行期间修改的全局变量列表。已修改的全局变量列表可以使编译器能够执行优化,例如但不限于将修改后的全局变量共存于内存中。

著录项

  • 公开/公告号US2016124728A1

    专利类型

  • 公开/公告日2016-05-05

    原文格式PDF

  • 申请/专利权人 MICROSOFT CORPORATION;

    申请/专利号US201414529188

  • 发明设计人 TERRY JACK MAHAFFEY;

    申请日2014-10-31

  • 分类号G06F9/45;G06N99;

  • 国家 US

  • 入库时间 2022-08-21 14:34:28

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号