CPI (Cycle per Instruction) precise measurement method based on CPU (Central Processing Unit) hardware performance monitoring counter
A hardware performance monitoring and precise measurement technology, applied in software testing/debugging, etc., can solve problems such as misleading, poor accuracy, and unusability caused by tuning work, and achieve the effect of low resource overhead
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0032] The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.
[0033] Fine-grained CPI is jointly obtained by fine-grained instruction frequency and fine-grained clock cycle. The method used in the present invention is still to separately sample the fine-grained instruction frequency and the fine-grained clock cycle, and then combine the two samples to obtain the fine-grained CPI. However, when acquiring the frequency of fine-grained instructions, the present invention samples jump history records, and obtains precise fine-grained instruction frequency through certain transformations. When acquiring a fine-grained clock cycle, the present invention uses a random sampling method to overcome possible system errors in the sampling proce...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 