发明名称 |
Method and system for probe optimization while instrumenting a program |
摘要 |
A method and system is provided for instrumenting a program by optimizing probe insertion. The number of probe insertions into instrumented code is reduced by providing optimal probe insertion points. The control flow of the code is analyzed along with the arc and block relationships to build a post-dominator tree. An optimization map is generated from the post-dominator tree that provides the optimal probe insertion points. Once the probes are inserted and data is collected by running the binary representing the code and probes, the data may be overlaid onto the optimization map and arc and block relationships to provide code coverage data.
|
申请公布号 |
US7590521(B2) |
申请公布日期 |
2009.09.15 |
申请号 |
US20040819463 |
申请日期 |
2004.04.07 |
申请人 |
MICROSOFT CORPORATION |
发明人 |
MA KENNETH KAI-BAUN;SCHERTZ STEPHEN CRAIG |
分类号 |
G06F9/45;G06F11/28;G06F9/44;G06F11/36 |
主分类号 |
G06F9/45 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|