Hi everybody.
I have a question related to the numbe of instruction_executed that is
provided in the ruby stat file (I use GEMS 1.4 and Simics 3)
If I run the same simics checkpoint for the same number of simics cycles
(e.g., c 50000) with the same target architecture, but different
coherence protocol, I get different instruction_executed number for each
run I consider (if the coherence protocol is the same, everything's ok):
this different is something one might expect.
What I actually need is to run the simulation not after a given "Simics
cycles" number, instead when the instructions executed counter reaches a
given number (in order to be able to compare different coherence
protocols with the same number of instructions). Is it possible to
control this from Ruby? And if not, any suggestion on how I have to
modify Ruby in order to add this characteristic?
Thanks a lot for your support.
Regards,
Marco
|