发明名称 Method and system for periodic trace sampling for real-time generation of segments of call stack trees
摘要 A method and system for profiling a program using periodic trace sampling is provided. During the execution of the program, sample-based profiling of the executing program is performed-for a predetermined period, a profiler performs trace processing for the program, after which the profiler pauses and does not perform trace processing for a predetermined period. The periods controlling the profiler may be selected by a user, and the periods may be measured by temporal or non-temporal metrics. The profiler cycles through these periods, during which selected events are processed to generate a profile of the execution flows within the program. For each sample period, a tree data structure is generated in which nodes of the tree data structure represent the routines of the program that execute during the sample period, as may be indicated by entry and exit events caused by the execution of the routines. When the execution of the program is complete, the tree data structures from each sample period are merged into a resulting tree data structure.
申请公布号 US6651243(B1) 申请公布日期 2003.11.18
申请号 US19990418379 申请日期 1999.10.14
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 BERRY ROBERT FRANCIS;LEVINE FRANK ELIOT;URGUHART ROBERT J.
分类号 G06F9/44;G06F9/445;G06F11/00;G06F11/34;G06F17/30;(IPC1-7):G06F9/44 主分类号 G06F9/44
代理机构 代理人
主权项
地址