Tony, check the nop count. That might be the difference that you are seeing.
-Korey On Thu, Aug 23, 2012 at 1:24 PM, Anthony Gutierrez <atgut...@umich.edu> wrote: > Hello, > > It seems that the number of committed instructions don't always match up > with an instruction-based exit event, e.g., when using -I. The CPU's number > of committedInsts can sometime be a few more or less than this value. I > think I understand why the number can be more, if an exit event is scheduled > when commit commits its 1,000th instruction, other events scheduled for the > same tick can cause more instructions to be committed. Is that correct? But, > why can the number of committed instructions ever be less than the number > that triggers an exit event? I added this to the O3 cpu and dumped and reset > stats after every exit: > > //inside of instDone() > if (!(thread[tid]->numInst % 1000)) > exitSimLoop("1000 insts reached", 0); > > The number of committedInsts dumped after each exit varies but it usually > within a few % of 1,000. However, it is rarely ever 1,000. > > Thanks, > Tony > > _______________________________________________ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users -- - Korey _______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users