-
公开(公告)号:US07103878B2
公开(公告)日:2006-09-05
申请号:US10020631
申请日:2001-12-13
申请人: Brian Fahs , Robert Hundt , Tara Krishnaswamy
发明人: Brian Fahs , Robert Hundt , Tara Krishnaswamy
CPC分类号: G06F11/3612 , G06F9/449 , G06F11/3644
摘要: A method and system for analyzing a virtual function. In one embodiment, the present invention determines whether a virtual table exists for a virtual function, and determines a call type for the virtual function. In the present embodiment, provided the virtual table is located, the present invention replaces an existing address for the virtual function with a new address such that the new address points to instrumentation code. In this embodiment, upon a call to the virtual function, the present invention loads the new address from the virtual table such that execution is directed to the instrumentation code. The present embodiment continues execution and executes the instrumentation code such that control is delivered to the instrumentor.
-
公开(公告)号:US07360207B2
公开(公告)日:2008-04-15
申请号:US10016949
申请日:2001-12-13
申请人: Brian Fahs , Robert Hundt , Vinodha Ramasamy , Tara Krishnaswamy
发明人: Brian Fahs , Robert Hundt , Vinodha Ramasamy , Tara Krishnaswamy
IPC分类号: G06F9/45
CPC分类号: G06F11/3466 , G06F11/3476 , G06F2201/865
摘要: A method and a system for examining an inlined function using a performance analysis tool are described. An inlined function is identified in computer code. Upon identification of the inlined function, and for example in response to executing a breakpoint associated with the inlined function, a performance analysis tool is used to perform desired task on the inlined function.
摘要翻译: 描述了使用性能分析工具检查内联功能的方法和系统。 在计算机代码中标识了内联函数。 在识别内联函数时,并且例如响应于执行与内联函数相关联的断点,使用性能分析工具来对内联函数执行期望的任务。
-