Hi all,
i want to generate block address and set nos for the misses also
in line no 326 to 328 cache_impl.hh. i have done it for hits for misses ,
i am facing problems because the blocks findBlk and findBlock returns only
the hit blocks and after that there is use of (blk != NULL) which checks it
again. Any idea how i can generate traces of blocka ddress and set numbers
for misses also.
i have done in this way for hits
:
DPRINTF(Cache, "%s %s %d %x %s\n", pkt->cmdString(),
pkt->req->isInstFetch() ? "(ifetch)" : "",
blk->set, tags->regenerateBlkAddr(blk->tag,blk->set),blk ? "hit"
: "miss");
--
*thanks®ards
*
*BISWABANDAN PANDA*
*M.S.(RESEARCH SCHOLAR)*
*RISE LAB*
*IIT MADRAS*
http://www.cse.iitm.ac.in/~biswa/ <http://www.cse.iitm.ac.in/%7Ebiswa/>
_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users