arrow
返回

Fast, accurate call graph profiling

delete2003-11-26
delete0
PRE
AI
DOI:10.1002/spe.562delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
Existing methods for call graph profiling, such as that used by gprof, deal badly with programs that have shared subroutines, mutual recursion, higher‐order functions, or dynamic method binding. This article discusses a way of improving the accuracy of a call graph profile by collecting more information during execution, without significantly increasing the overhead of profiling. The method is based on keeping track of a context, consisting of the set of subroutines that are active at a particular moment during execution, together with the calling arcs between these subroutines. The profiler records the time spent in each context during execution of the program, and thus obtains an accurate measurement of the total time during which each subroutine was active. By recording arc information for only the most recent activation of each subroutine, it is possible to arrange that even recursive programs give rise to a finite number of these contexts, and in typical real programs, the number of distinct contexts remains manageably small. The data can be collected efficiently during execution by constructing a finite‐state machine whose states correspond to contexts, so that when a context is entered for a second or subsequent time, only a single access of a hash table is needed to update the state of the profiling monitor. Copyright © 2003 John Wiley & Sons, Ltd.
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

Frankenstein: fast and lightweight call graph generation for software builds
err2023-11-16
err0
errOAAI
errKeshani, Mehdi; Gousios, Georgios; Proksch, Sebastian
err分享
err收藏
Static Call Graph Combination to Simulate Dynamic Call Graph Behavior
err2022-01-01
err1
errOAAI
errSagodi, Zoltan; Pengo, Edit; Jasz, Judit; Siket, Istvan; Ferenc, Rudolf
err分享
err收藏
Enhancing the detection of metamorphic malware using call graphs使用调用图增强对变形恶意软件的检测
err2014-10-01
err48
PREAI
errElhadi, Ammar Ahmed E.; Maarof, Mohd Aizaini; Barry, Bazara I. A.; Hamza, Hentabli
err分享
err收藏
Type-Based Call Graph Construction Algorithms for Scala
err2015-12-02
err7
PREAI
errAli, Karim; Rapoport, Marianna; Lhotak, Ondrej; Dolby, Julian; Tip, Frank
err分享
err收藏
Precise Calling Context Encoding精确的调用上下文编码
err2012-09-01
err18
errOAAI
errSumner, William N.; Zheng, Yunhui; Weeratunge, Dasarath; Zhang, Xiangyu
err分享
err收藏

期刊

暂无期刊信息

机构

暂无机构信息
引用论文

引用论文

暂无论文信息