Well as in my first post, the total stat says that: 0.977153% of L2 cache occupancy is devoted to writebacks+switch_cpus.inst+switch_cpus.data+l2.prefetcher+cpu.inst+cpu.data
So where is the remaining 3%? That is my understanding though. Please let me know if I am wrong. On 5/26/12, Nilay Vaish <[email protected]> wrote: > Why should it sum up to 100%? > > -- > Nilay > > On Sat, 26 May 2012, Mahmood Naderan wrote: > >> I haven't figured out the problem yet. I looked into the code, but it >> is not clear how the percentage is calculated. Only the stats names >> are understandable. >> >> Why the total percent is less than 100%. I saw this in some other >> benchmarks. For example for one of them I see >> system.l2.occ_percent::total 0.576470 >> >> any comment is appreciated >> >> On 4/13/12, Mahmood Naderan <[email protected]> wrote: >>> Hi, >>> Can someone explain how the percentage of occupancy is calculated? >>> As you can see: >>> system.l2.occ_percent::writebacks 0.016149 >>> system.l2.occ_percent::switch_cpus.inst 0.034804 >>> system.l2.occ_percent::switch_cpus.data 0.177745 >>> system.l2.occ_percent::l2.prefetcher 0.732205 >>> system.l2.occ_percent::cpu.inst 0.001578 >>> system.l2.occ_percent::cpu.data 0.014672 >>> system.l2.occ_percent::total 0.977153 >>> >>> Why the total is not equal to 1? >>> -- >>> // Naderan *Mahmood; >>> >> >> >> -- >> // Naderan *Mahmood; >> _______________________________________________ >> 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 > -- // Naderan *Mahmood; _______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
