Invention Grant
- Patent Title: Per-instruction energy debugging using instruction sampling hardware
-
Application No.: US15923153Application Date: 2018-03-16
-
Publication No.: US11556162B2Publication Date: 2023-01-17
- Inventor: Shijia Wei , Joseph L. Greathouse , John Kalamatianos
- Applicant: Advanced Micro Devices, Inc.
- Applicant Address: US CA Santa Clara
- Assignee: Advanced Micro Devices, Inc.
- Current Assignee: Advanced Micro Devices, Inc.
- Current Assignee Address: US CA Santa Clara
- Agency: Zagorin Cave LLP
- Main IPC: G06F1/32
- IPC: G06F1/32 ; G06F9/38 ; G06F11/36

Abstract:
A processor utilizes instruction based sampling to generate sampling data sampled on a per instruction basis during execution of an instruction. The sampling data indicates what processor hardware was used due to the execution of the instruction. Software receives the sampling data and generates an estimate of energy used by the instruction based on the sampling data. The sampling data may include microarchitectural events and the energy estimate utilizes a base energy amount corresponding to the instruction executed along with energy amounts corresponding to the microarchitectural events in the sampling data. The sampling data may include switching events associated with hardware blocks that switched due to execution of the instruction and the energy estimate for the instruction is based on the switching events and capacitance estimates associated with the hardware blocks.
Public/Granted literature
- US20190286209A1 PER-INSTRUCTION ENERGY DEBUGGING USING INSTRUCTION SAMPLING HARDWARE Public/Granted day:2019-09-19
Information query