Patents
US 9,703,667 B2#112775704 Most CitedActiveUnited States (USPTO)Utility

Hardware-based edge profiling

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

Abstract

A method comprising: counting each occurrence of a hardware event by a Performance Monitoring Counter of a hardware processor during the execution of a target program code; orderly and continuously storing in a buffer of a Taken Branch Trace (TBT) Facility of said hardware processor a predefined TBT size of last taken branches of said target program code during its execution; every time said counting equals a sampling rate, triggering sampling of said buffer, to receive a TBT comprising current said predefined TBT size of last taken branches; constructing a full branch trace for each said TBT based on said target program code; extracting a predefined Chopped Branch Trace (CBT) size of last branches from each said full branch trace, to receive a chopped branch trace for said each TBT; and incrementally storing each said chopped branch trace to generate an edge profile of said target program code.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method comprising: counting each occurrence of a hardware event by a Performance Monitoring Counter (PMC) of at least one hardware processor during the execution of a target program code, wherein each occurrence of each hardware event comprises any of: a taken and a not taken branch; orderly and continuously storing in a buffer of a Taken Branch Trace Facility (TBTC) of said at least one hardware processor a predefined Taken Branch Trace (TBT) size of last taken branches of said target program code during its execution; every time said counting of any of said taken and said not taken branche

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 (23)

PatentTitleYearCitations
US 2002104075 A1Low overhead speculative selection of hot traces in a caching dynamic translator—41
US 2002194580 A1Edge profiling for executable program code having branches through stub code segments—30
US 6,519,766 B1Computer program profiler2003129
US 2004015930 A1Method and system for collaborative profiling for continuous detection of profile phase transitions—26
US 6,795,964 B2Edge profiling for executable program code having branches through stub code segments200419
US 2005289400 A1Trace analyzing apparatus, trace analyzing method, and processor—38
US 2006230391 A1System and method for collecting a plurality of metrics in a single profiling run of computer code—60
US 2007074081 A1Method and apparatus for adjusting profiling rates on systems with variable processor frequencies—21
US 7,458,065 B2Selection of spawning pairs for a speculative multithreaded processor200822
US 2009083526 A1Program conversion apparatus, program conversion method, and comuter product—3
US 7,617,420 B2Trace analyzing apparatus, trace analyzing method, and processor200913
US 2010235686 A1Execution history tracing method—9
US 2011113224 A1Execution time estimation method, execution time estimation program, and execution time estimation device—64
US 2012005463 A1Branch trace history compression—18
US 2012167058 A1Method and apparatus for flexible, accurate, and/or efficient code profiling—2
US 8,214,817 B2Detecting change in program behavior for adaptive code optimization201216
US 8,352,928 B2Program conversion apparatus, program conversion method, and computer product20135
US 8,489,866 B2Branch trace history compression20133
US 8,578,216 B2Execution history tracing method20131
US 2014075249 A1Execution History Tracing Method—3
US 2015058606 A1Branch trace compression—14
US 2015058825 A1Stack trace compression—21
US 2016110281 A1System and method for debugging firmware/software by generating trace data—10

Non-Patent Literature (5)

  • Alex Shye et al., "Analyis of Path Profiling Information Generated with Performance Monitoring Hardware" Interaction between Compilers and Computer Architectures, 2005. INTERACT-9. 9th Annual Workshop on Feb. 13, 2005, pp. 34-43.
  • Chen et al., Taming Hardware Event Samples for Precise and Versatile Feedback Directed Optimizations, published by IEEE Transaction on computers vol. 62, No. 2, Feb. 2014, pp. 376-389.
  • Thomas M. Conte et al., "Accurate and practical profile-driven compilation using the profile buffer", MICRO 29 Proceedings of the 29th annual ACM/IEEE international symposium on Microarchitecture, pp. 36-45, 1996.
  • Vinodha Ramasamy et al., "Feedback-Directed Optimizations with Estimated Edge Profiles from Hardware Event Sampling", Proceedings of GCC Summit 2008, pp. 87-102.
  • Wu & Larus., "Static branch frequency and program profile analysis", MICRO 27 Proceedings of the 27th annual international symposium on Microarchitecture, pp. 1-11.