Patents
US 9,448,909 B2#77322080 Most CitedActiveUnited States (USPTO)Utility

Randomly branching using performance counters

0Forward Citations (#77322080 Global)
0.0/yrCitation Velocity (#77322080 Global)
0.56Citation PageRank (#77322080 Global)
26Prior Art Cited
2Claims (1 Indep. · 1 Dep.)
0Drawings / Sheets

Abstract

A system and method for efficiently performing program instrumentation. A processor processes instructions stored in a memory. When the processor processes a given instruction of a given instruction type, the processor updates a corresponding performance counter. When the performance counter reaches a threshold, the processor generates an interrupt and compares a location of the given instruction with stored locations in a given list. If a match is not found, then the processor processes an instruction following the given instruction in the computer program without processing intermediate instrumentation code. If a match is found, then the processor processes instrumentation code. Regardless of whether or not the instrumentation code is processed, when control flow returns to the computer program, the corresponding performance counter is initialized with a random value.

Interactive Citation Constellation Global Citation Ranking

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

Claims (2 — 1 Independent, 1 Dependent)

  1. Claim 1Independent Claim

    A computing system comprising: a memory configured to store a computer program; a processor coupled to the memory, wherein the processor is configured to: process instructions of the stored computer program; and responsive to at least detecting a predetermined instruction type being processed: update a count, wherein the count is initialized with a pseudorandom number; and in response to determining the count reaches a threshold, process instrumentation code in place of the computer program, in response to at least determining a program location of the predetermined instruction type matches a

  2. Claim 2Depends on #1

    The computing system as recited in claim 1 , wherein in further response to detecting the predetermined instruction type, the processor is further configured to process an instruction fol

Technical Overview & Description

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

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (26)

PatentTitleYearCitations
US 5,764,885 AApparatus and method for tracing data flows in high-speed computer systems1998101
US 5,802,272 AMethod and apparatus for tracing unpredictable execution flows in a trace buffer of a high-speed computer system199879
US 5,838,962 AInterrupt driven dynamic adjustment of branch predictions199824
US 5,909,578 AUse of dynamic translation to burst profile computer applications199965
US 5,913,043 AState machine based bus bridge performance and resource usage monitoring in a bus bridge verification system199935
US 5,944,841 AMicroprocessor with built-in instruction tracing capability1999185
US 6,205,545 B1Method and apparatus for using static branch predictions hints with dynamically translated code traces to improve performance2001111
US 6,233,531 B1Apparatus and method for monitoring the performance of a microprocessor200153
US 6,728,949 B1Method and system for periodic trace sampling using a mask to qualify trace data2004169
US 2007079294 A1Profiling using a user-level control mechanism—245
US 2007226703 A1Binary code instrumentation to reduce effective memory latency—24
US 7,292,957 B1Cost efficient performance statistics gathering using logarithmic indexing20078
US 2007260849 A1Method and apparatus for executing instrumentation code using a target processor—33
US 2007261034 A1Method and apparatus for graphically marking instructions for instrumentation with hardware assistance—22
US 2007260860 A1Method and apparatus for executing instrumentation code using processor instructions—6
US 2007261033 A1Method and apparatus for selectively marking and executing instrumentation code—47
US 7,526,757 B2Method and apparatus for maintaining performance monitoring structures in a page table for use in monitoring performance of a computer program200932
US 2010037101 A1Exposing application performance counters for .net applications through code instrumentation—19
US 7,814,466 B2Method and apparatus for graphically marking instructions for instrumentation with hardware assistance201014
US 8,051,332 B2Exposing application performance counters for .NET applications through code instrumentation201119
US 2012011491 A1Efficient recording and replaying of the execution path of a computer program—40
US 8,214,819 B2Determining call counts in a program201214
US 8,245,199 B2Selectively marking and executing instrumentation code20126
US 8,479,052 B2Exposing application performance counters for .NET applications through code instrumentation20134
US 2013247008 A1Hardware based run-time instrumentation facility for managed run-times—17
US 8,839,041 B2Exposing application performance counters for applications through code instrumentation20144

Non-Patent Literature (4)

  • Dean, et al., "ProfileMe: Hardware Support for Instruction-Level Profiling on Out-of-Order Processors", MICRO 30 Proceedings of the 30th Annual ACM/IEEE International Symposium on Microarchitecture, Dec. 1-3, 1997, 12 pages, IEEE Computer Society, Washington, DC, USA.
  • Drongowski, Paul J., "Instruction-Based Sampling: A New Performance Analysis Technique for AMD Family 10h Processors", Advanced Micro Devices, Inc., Nov. 16, 2007, 14 pages.
  • Lee, et al., "Branch-on-Random", Proceedings of the 6th Annual IEEE/ACM International Symposium on Code Generation and Optimization, Apr. 5-10, 2008, 10 pages, ACM, New York, NY, USA.
  • 'Modern Microprocessors-A 90 Minute Guide!' by Patterson, archived version from Aug. 2012.