Basically, for every address you can do
Addr blk_addr = pkt->getAddr() & ~(Addr)(blkSize-1);
to find the block address.
--
Regards,
Mahmood
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Thanks. Could you tell me how to find the block address in l2 cache?
I want to collect the Read/Write information for each block in l2 cache.
2012/10/26 Mahmood Naderan :
> That mesage is printed in cache_impl.hh (Cache::access).
> Just see the code and you will find that this is not the block
>
That mesage is printed in cache_impl.hh (Cache::access).
Just see the code and you will find that this is not the block
address.
--
Regards,
Mahmood
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Hello, I have some question about the data in trace file
for example,
the data in my trace file is : 2357421892000: system.l2: ReadReq
(ifetch) 4100 hit
2357421906500: system.l2:
ReadReq (ifetch) 4140 hit
and there are 2 address (4100, 4140)
Is the addres