Invention Grant
- Patent Title: Randomly branching using performance counters
- Patent Title (中): 使用性能计数器随机分支
-
Application No.: US14054345Application Date: 2013-10-15
-
Publication No.: US09448909B2Publication Date: 2016-09-20
- Inventor: Joseph L. Greathouse , David S. Christie
- Applicant: Advanced Micro Devices, Inc.
- Applicant Address: US CA Sunnyvale
- Assignee: Advanced Micro Devices, Inc.
- Current Assignee: Advanced Micro Devices, Inc.
- Current Assignee Address: US CA Sunnyvale
- Agency: Meyertons, Hood, Kivlin, Kowert & Goetzel, P.C.
- Agent Rory D. Rankin
- Main IPC: G06F9/30
- IPC: G06F9/30 ; G06F11/34 ; G06F11/36

Abstract:
A system and method for efficiently performing program instrumentation. A processor processes instructions stored in a memory. When the processor processes a given instruction of a given instruction type, the processor updates a corresponding performance counter. When the performance counter reaches a threshold, the processor generates an interrupt and compares a location of the given instruction with stored locations in a given list. If a match is not found, then the processor processes an instruction following the given instruction in the computer program without processing intermediate instrumentation code. If a match is found, then the processor processes instrumentation code. Regardless of whether or not the instrumentation code is processed, when control flow returns to the computer program, the corresponding performance counter is initialized with a random value.
Public/Granted literature
- US20150106604A1 RANDOMLY BRANCHING USING PERFORMANCE COUNTERS Public/Granted day:2015-04-16
Information query