Patents
US 7,143,396 B2#8178508 Most CitedExpiredUnited States (USPTO)Utility

System and method for measuring code segment performance

12Forward Citations (#8178508 Global)
0.6/yrCitation Velocity (#12994868 Global)
2.87Citation PageRank (#8160480 Global)
22Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A system and methods are provided for inserting probe points into an executing program, and measuring the time spent traversing code paths from one probe point to any other probe point or some other performance metric (e.g., instructions executed, cache misses, memory addresses accessed). One method is implemented by inserting N probes. Each probe has a corresponding function configured to: retrieve the identifier and timestamp of the previous probe executed, calculate the time spent traversing the path from the previous probe to the current probe, and update a matrix of N×N elements, wherein each element corresponds to a path from one probe to another probe. After completion of the program, this matrix is useful for identifying code paths that are bottlenecks and hence candidates for optimization.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 22 · Forward citations: 12.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method of monitoring performance of a program executing in a computer, comprising: installing a uniquely identifiable probe at each of N probe points (N≧2) by: copying an original instruction at the probe point to a corresponding probe function; modifying the original instruction path to branch to said probe function prior to the original instruction; and configuring said probe function to return to the original instruction path; and during execution of a first probe function corresponding to a first probe point: updating a first timestamp associated with the first probe point with a current

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (22)

PatentTitleYearCitations
US 5,450,586 ASystem for analyzing and debugging embedded software through dynamic and interactive use of code markers1995411
US 5,748,878 AMethod and apparatus for analyzing software executed in embedded systems1998193
US 5,758,061 AComputer software testing method and apparatus1998257
US 5,940,618 ACode instrumentation system with non intrusive means and cache memory optimization for dynamic monitoring of code segments1999163
US 5,960,198 ASoftware profiler with runtime control to enable and disable instrumented executable1999146
US 6,079,032 APerformance analysis of computer systems2000107
US 6,085,029 AMethod using a computer for automatically instrumenting a computer program for dynamic debugging2000157
US 6,161,200 AMethod and apparatus for analyzing software executed in embedded systems200089
US 6,298,477 B1Method and apparatus for selecting ways to compile at runtime200150
US 6,311,327 B1Method and apparatus for analyzing software in a language-independent manner2001265
US 6,341,357 B1Apparatus and method for processor performance monitoring200235
US 6,397,382 B1Dynamic software code instrumentation with cache disabling feature200245
US 6,397,379 B1Recording in a program execution profile references to a memory-mapped active device2002181
US 6,412,107 B1Method and system of providing dynamic optimization information in a code interpretive runtime environment200261
US 6,467,052 B1Method and apparatus for analyzing performance of data processing system2002291
US 6,539,539 B1Active probes for ensuring software package compatibility200356
US 6,658,651 B2Method and apparatus for analyzing software in a language-independent manner200360
US 6,721,941 B1Collection of timing and coverage data through a debugging interface2004453

Non-Patent Literature (5)

  • A Dual Viewpoint Sotware Test Tool, M.A. Hennell et al, Mar. 1995, pp. 101-104.
  • An Extensible Probe Architecture for Network Protocol Performance Measurement, ACM, G. Robert Malan, et al., Oct. 1998, pp. 215-227.
  • Automatic Insertion of Performance Instrumentation for Distributed Applications, Sarr Blumson et al, OSF, Feb. 7, 1995, pp. 3-23.
  • IBM Technical Disclosure Bulletin, vol. 34, No. 7B, Dec. 1991, pp. 259-261.
  • IDebug: An Advanced Debugging Framework for JAVA, J. R. Kinry et al, Sep. 1998, pp. 1-11.