my modification increased demand_hit. However demand_misses didn't decrease accordingly.
The default code has: demand_hits 1,984,082 demand_misses 2,630,400 my modification causes: demand_hits 2,231,338 demand_misses 2,621,494 As you can see demand_hit increased by (2,231,338-1,984,082=247,256). If hit increased by X unit, then misses must also decrease by X unit. However demand_misses decreased by (2,630,400-2,621,494=8,906) Isn't strange? On 1/13/12, Mahmood Naderan <mahmood...@gmail.com> wrote: > With gem5 stats, how does cache miss ratio obtained? > > overall_misses / (overall_misses+overall_hits) > or > demand_misses / (demand_misses+demand_hits) > > On 1/12/12, Mahmood Naderan <mahmood...@gmail.com> wrote: >> Hi >> What is the difference between overall_hits and demand_hits in stats? >> According to descriptions: >> >> demand_hits : number of demand (read+write) hits >> overall_hits : number of overall hits >> >> If they have different values, what does that mean? >> >> -- >> // Naderan *Mahmood; >> > > > -- > -- > // Naderan *Mahmood; > -- -- // Naderan *Mahmood; _______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users