Invention Grant
- Patent Title: Scalable and improved profiling of software programs
- Patent Title (中): 可扩展和改进的软件程序分析
-
Application No.: US12049314Application Date: 2008-03-15
-
Publication No.: US08418152B2Publication Date: 2013-04-09
- Inventor: Dean Joseph Burdick , Suresh Eswara Warrier
- Applicant: Dean Joseph Burdick , Suresh Eswara Warrier
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: VanLeeuwen & VanLeeuwen
- Agent Matthew W. Baca
- Main IPC: G06F9/45
- IPC: G06F9/45

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.
Public/Granted literature
- US20080168429A1 Scalable and Improved Profiling of Software Programs Public/Granted day:2008-07-10
Information query