Invention Grant
- Patent Title: Method and apparatus for synthesizing hardware counters from performance sampling
- Patent Title (中): 从性能采样中合成硬件计数器的方法和装置
-
Application No.: US11624526Application Date: 2007-01-18
-
Publication No.: US08136124B2Publication Date: 2012-03-13
- Inventor: Nicolai Kosche , Kenneth Tracton
- Applicant: Nicolai Kosche , Kenneth Tracton
- Applicant Address: US CA Redwood City
- Assignee: Oracle America, Inc.
- Current Assignee: Oracle America, Inc.
- Current Assignee Address: US CA Redwood City
- Agency: Meyertons, Hood, Kivlin, Kowert & Goetzel, P.C.
- Agent Robert C. Kowert
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F11/00

Abstract:
A system and method for performance monitoring may use data collected from a hardware event agent comprising a hardware sampling mechanism and/or one or more hardware counters to increment one or more synthesized performance counters by an amount dependent on an expression involving the collected data. Each synthesized performance counter may be configured to count events of a different type and may comprise a machine addressable storage location. The event types may include various memory references or misses, branches, branch mispredictions, or any other event of interest in performance monitoring. The hardware event agent may comprise one or more instruction counters, cycle counters, timers, or other hardware performance counters. One hardware performance counter may be used in a time-multiplexed or data-multiplexed manner to monitor events of multiple event types. The hardware sampling mechanism may return a statistical packet for sampled instructions, which may be examined to determine the event type.
Public/Granted literature
- US20080177756A1 Method and Apparatus for Synthesizing Hardware Counters from Performance Sampling Public/Granted day:2008-07-24
Information query