Int alu accesses is counting every register that has at least one integer operand.
Ali On Jul 21, 2011, at 5:40 AM, Iordan Alexandru wrote: > > Hello > > I am using gem5 to run a MP full-system simulation with Alpha. I am > interested > in profiling some applications in terms of instruction mix and for that > reason I > want to clarify something about the INT and FP instruction counts (total and > committed). > > From my experience there are a two "candidates" for total count of > instructions > (INT and FP): > > system.switch_cpus0.iq.int_alu_accesses 54347417 > > system.switch_cpus0.iq.FU_type_0::IntAlu 23500814 > system.switch_cpus0.iq.FU_type_0::IntMult 4209 > system.switch_cpus0.iq.FU_type_0::IntDiv 0 > > (there are similar stats for FP also) > > Since summing all the stats for iq.FU_type_0::Int* does not come even close > to > iq.int_alu_accesses, I am guessing that iq..int_alu_accesses counts the NOPs > and > the iq.FU_type_0::* does not. Is this true? > > Something similar is happening with the committed instructions stats as well. > The reported value (see bellow) is quite large, so again I am guessing that > NOPs > are included. > > system.switch_cpus0.commit.int_insts 50429347 > > Can anyone confirm or infirm my assumptions? Are there better suited counters > for INT and FP instructions (total and committed)? > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > _______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
