Efficient calculation of performance data for a computer
AssigneeFujitsu Limited
InventorFumitake Abe
Life of this patent
Estimating the term…
Abstract
An apparatus includes a memory and a processor, where the processor includes a performance counter that stores performance data for the processor. The apparatus store plural groups of calculation instructions in the memory. The apparatus calculates a first execution result by executing, based on the performance data obtained from the performance counter, each calculation instruction included in a first group of calculation instructions, and selects a second group of calculation instructions to be executed next, from among the plural groups of calculation instructions, based on the calculated first execution result.
Claims15
A non-transitory, computer-readable recording medium having stored therein a program for causing a computer to execute a process, the computer including a performance counter that stores plural types of performance data for the computer, the process comprising:
- providing plural groups of calculation instructions;
- calculating a first execution result by executing, based on a first type of performance data obtained from the performance counter, each calculation instruction included in a first group of calculation instructions corresponding to the first type of performance data;
- selecting a second group of calculation instructions to be executed next, from among the plural groups of calculation instructions, based on the calculated first execution result;
- and
- calculating a second execution result by executing, based on a second type of performance data obtained from the performance counter, each calculation instruction included in the second group of calculation instructions corresponding to the second type of performance data.
An apparatus comprising:
- a memory configured to store plural groups of calculation instructions;
- a processor coupled to the memory and configured to include a performance counter that stores plural types of performance data for the processor, the processor is configured to:
- calculate a first execution result by executing, based on a first type of performance data obtained from the performance counter, each calculation instruction included in a first group of calculation instructions corresponding to the first type of performance data;
- select a second group of calculation instructions to be executed next, from among the plural groups of calculation instructions, based on the calculated first execution result;
- and
- calculate a second execution result by executing, based on a second type of performance data obtained from the performance counter, each calculation instruction included in the second group of calculation instructions corresponding to the second type of performance data.
A method performed by an apparatus including a performance counter that stores plural types of performance data for a processor included in the apparatus, the method comprising:
- providing plural groups of calculation instructions;
- calculating a first execution result by executing, based on a first type of performance data obtained from the performance counter, each calculation instruction included in a first group of calculation instructions corresponding to the first type of performance data;
- selecting a second group of calculation instructions to be executed next, from among the plural groups of calculation instructions, based on the calculated first execution result;
- and
- calculating a second execution result by executing, based on a second type of performance data obtained from the performance counter, each calculation instruction included in the second group of calculation instructions corresponding to the second type of performance data.
Dependencies are inferred from the claim text.