摘要 |
An apparatus stores, based on results of sample-programs executed at operating frequencies, program-property information that includes innermost-loop-property information and other-loops-property information, and a minimum operating frequency indicating an operating frequency, of the operating frequencies, at which energy consumption upon execution of each of the sample-programs is the minimum; obtains first program-property information that is the program-property information corresponding to a first program before execution of the first program that is a program other than the sample-programs; and specifies second program-property information, of the program-property information stored in a memory, that includes information most similar to information included in the first program-property information obtained and estimating a first operating frequency at which the energy consumption upon execution of the first program is the minimum to be an operating frequency, of the minimum operating frequencies stored in the memory, that corresponds to the second program-property information specified. |
主权项 |
1. A computation apparatus, comprising:
a memory; and one or more processors coupled to the memory and configured to: store, based on a result of executing each of sample programs at a plurality of operating frequencies, program property information that includes innermost loop property information and other loops property information in association with a minimum operating frequency for each of the sample programs, the innermost loop property information including a number of instructions for each type included in an innermost loop of instructions included in loops in the sample program, the other loops property information including a number of instructions for each type included in the loops other than the innermost loop of the instructions included in the loops in the sample program, and the minimum operating frequency indicating an operating frequency, of the plurality of operating frequencies, at which energy consumption upon execution of each of the sample programs is the minimum; obtain first program property information that is the program property information corresponding to a first program before execution of the first program that is a program other than each of the sample programs; and specify second program property information, of the program property information stored in the memory, that includes information most similar to information included in the first program property information obtained and estimating a first operating frequency at which the energy consumption upon execution of the first program is the minimum to be an operating frequency, of the minimum operating frequencies stored in the memory, that corresponds to the second program property information specified. |