Patents
US 6,983,455 B2#5633720 Most CitedExpiredUnited States (USPTO)Utility

Mechanism for profiling computer code

16Forward Citations (#5633720 Global)
0.8/yrCitation Velocity (#9110416 Global)
3.83Citation PageRank (#5106986 Global)
12Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A set of computer code is profiled by breaking each code segment of the computer code down into basic instructions. Thereafter, the set of computer code is executed. As each code segment is executed, a log is updated to indicate execution of that code segment. This is done for each executed code segment; thus, at the end of execution, the log reflects all of the code segments that were executed, and how many times each code segment was executed. Using the log, and a set of calibration statistics, which specify how much processing time is consumed by each basic instruction, an overall execution cost is derived for each executed code segment. The set of overall execution costs for all of the executed code segments are incorporated into an overall profile for the set of computer code.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method for profiling a set of computer code, comprising: executing a set of computer code; generating an execution log for the set of computer code, wherein the execution log comprises information indicating how many times a code segment within the set of computer code was executed; selecting said code segment from the execution log after execution of the set of computer code has completed; accessing a decomposed representation of said code segment, said decomposed representation specifying one or more basic instructions that are executed to execute said code segment; determining a resource

Technical Overview & Description

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

Non-Patent Literature (2)

  • Ball et al., "Optimally Profiling and Tracing Programs", 1994, ACM, p. 1319-1360.
  • Wu et al., "Static Branch Frequency and Program Profile Analysis", 1994, ACM, p. 1-11.