Argument Controlled Profiling

Argument Controlled Profiling
复制标题

参数控制分析

DOI:
--
复制
发表时间:
2009
期刊:
Euro-Par Workshops
影响因子:
--
通讯作者:
T. Weinzierl
T. Weinzierl
中科院分区:
--
文献类型:
--
作者:
Tilman Küstner;Josef Weidendorfer;T. Weinzierl

文献摘要

被引文献

相似文献

分析工具将度量与代码上下文(如函数名)相关联,以指导代码优化。对于更详细的分析,调用路径或基于阶段的分析分别通过调用链或用户定义的阶段名称来增强上下文。在本文中,我们提出了参数控制的剖析作为一种新的类型的上下文扩展使用的函数参数的值作为上下文的一部分。对于一个展示模拟代码,我们证明,这简化和丰富的代码的理解和分析-特别是递归函数。由于新的分析技术,我们发现优化导致超过16%的运行时改进。参数控制的分析是作为Callgrind的扩展实现的,Callgrind是一个使用运行时插装的基于模拟的分析工具。
Profiling tools relate measurements to code context such as function names in order to guide code optimization. For a more detailed analysis, call path or phase-based profiling enhances the context by call chains or user defined phase names, respectively. In this paper, we propose argument controlled profiling as a new type of context extension using the value of function arguments as part of the context. For a showcase simulation code, we demonstrate that this simplifies and enriches the understanding and analysis of code--in particular recursive functions. Due to the new profiling technique, we found optimizations resulting in more than 16% runtime improvement. Argument controlled profiling is implemented as extension of Callgrind, a simulation-based profiling tool using runtime instrumentation.