"The reason for this is that the simulated samples are collected for intervals based on a constant number of instructions"
However you say that you also want to compute projected metrics for a cumulative stat such as overall Energy. To extend the CPI example, let's propose that you wish to compute the projected overall cycle time of a simulation. From the projected CPI you can simply multiply by the number of dynamic instructions in the entire benchmark to get the number of cycles projected to execute.
To summarize for your case: you will need a means of measuring Energy-Per-Instruction, Energy-Delay-Product-Per-Instruction and Energy-Delay-squared-Product-Per-Instruction. For some of these you may need to base your sample over a region of instructions and then divide by the number of instructions to get a normalized metric. Then you use the weighting formula to get an overall metric that is weighted to project the behavior of your entire program. Last, multiply by the number of dynamic instructions to get the projected metric desired for your entire benchmark.
I hope this clarifies things,
Robert
On 11/16/06, shruti08 <shruti08@...> wrote:
Hi all:
I had a doubt about using weights with multiple simpoints for SPEC
benchmarks. The webpage
(http://www.cse.ucsd.edu/~calder/simpoint/sim-points-FAQ.htm)
discusses the same for IPC/CPI. I am evaluating Energy, Energy Per
Instruction, Energy-Delay-Product and Energy-Delay-squared-Product. I
have multiple simpoints of a benchmark and I want to calculate the
effective value of each of these metrics using the weights. Could
someone help me out?
Thanks & Regards,
Shruti