首页>
外国专利>
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.
展开▼