Patents
US 8,418,152 B2#116420944 Most CitedActiveUnited States (USPTO)Utility

Scalable and improved profiling of software programs

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

Abstract

An approach to profiling software programs that uses a small pinned buffer and a large unpinned histogram buffer is presented. When a process that is being profiled receives a time slice, the process' program counter is written to the small pinned buffer by a kernel routine. The small pinned buffer is configured to be large enough to store several program counters. When the small pinned buffer is full, or almost full, an internal profiling signal is sent by the kernel routine. When the process is resumed, any outstanding signals are processed before resuming the process. The profiling signal is handled by reading the program counters from the small pinned buffer, calculating a slot in the histogram buffer that corresponds to each of the program counters, incrementing the value in the corresponding histogram slots, and clearing the small pinned buffer so that it can be reused.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method of profiling a process executing on a processor, the method comprising: allocating a small pinned buffer and a larger unpinned histogram buffer in a memory; recording, in the small pinned buffer, a plurality of program counters encountered while executing the process; incrementing a buffer counter each time one of the plurality of program counters is written to the small pinned buffer; setting a profiling signal in response to comparing the buffer counter to a threshold value, wherein the threshold value is less than or equal to the number of program counters are able to be written to

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.