Information processing apparatus and information processing method
AssigneeFujitsu Limited
InventorMasaki Arai
Life of this patent
Estimating the term…
Abstract
An information processing apparatus includes: a memory; and a processor coupled to the memory and configured to: receive input of an input program in which a plurality of statements is written in a loop; generate a counting program for causing a computing machinery to execute a process of counting the number of cache misses and the number of cache hits that are expected when the loop is executed for each of pairs of the statements by rewriting the input program; and split the loop into a plurality of loops based on the number of cache misses and the number of cache hits counted in the process.
Claims6
An information processing apparatus comprising:
- a memory;
- and
- a processor coupled to the memory and configured to:
- receive input of an input program in which a plurality of statements is written in a loop;
- generate a counting program for causing a computing machinery to execute a process of counting the number of cache misses and the number of cache hits that are expected when the loop is executed for each of pairs of the statements by rewriting the input program;
- write a counting process in the loop, the counting process counting the number of cache misses and the number of cache hits for each of the pairs;
- and
- split the loop into a plurality of loops based on the number of cache misses and the number of cache hits counted in the process.
An information processing method implemented by a computer, the information processing method comprising:
- receiving input of an input program in which a plurality of statements is written in a loop;
- generating a counting process for causing a computing machinery to execute a process of counting the number of cache misses and the number of cache hits that are expected when the loop is executed for each of pairs of the statements by rewriting the input program;
- writing a counting process in the loop, the counting process counting the number of cache misses and the number of cache hits for each of the pairs;
- and
- splitting the loop into a plurality of loops based on the number of cache misses and the number of cache hits counted in the process of counting.
Dependencies are inferred from the claim text.