Patents
US 7,380,241 B2#26807565 Most CitedExpiredUnited States (USPTO)Utility

Scalable and improved profiling of software programs

4Forward Citations (#26807565 Global)
0.2/yrCitation Velocity (#31437450 Global)
1.16Citation PageRank (#34037409 Global)
7Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A method for profiling software programs uses a small pinned buffer and a large unpinned histogram buffer. 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 (including the profiling signal) 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: 7 · Forward citations: 4.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method of profiling a process executing on a processor, the method comprising: receiving a profiling request from the process, the profiling request including a pointer to an unpinned histogram buffer that was allocated by the process in a memory; setting a flag in a data structure corresponding to the process indicating that the process is being profiled; allocating, by a kernel routine, a small pinned buffer in the memory, wherein the unpinned histogram buffer is larger than the small pinned buffer; initializing a buffer counter used to count the number of entries recorded in the small pin

Technical Overview & Description

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

Non-Patent Literature (2)

  • U.S. Appl. No. 09/620,714, filed Jul. 20, 2000, Browning et al.
  • U.S. Appl. No. 09/620,722, filed Jul. 20, 2000, Browning et al.