I did that using isTopLevel variable of Cache/BaseCache class. Set that to false for L2 and you can write your own DPRINTF inside that if clause.
On 11/26/11, Mahmood Naderan wrote: > Hi, > Is it possible to dump statistic for L2 only? not the cpu or icache or dcache? > > -- > // 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
