发明名称 System and method for scalable and improved profiling of software programs
摘要 A system and 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.
申请公布号 US2006123400(A1) 申请公布日期 2006.06.08
申请号 US20040006370 申请日期 2004.12.07
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 BURDICK DEAN J.;WARRIER SURESH E.
分类号 G06F9/44 主分类号 G06F9/44
代理机构 代理人
主权项
地址