I have figured out how to it. I added a boolean named roi in the system.hh
header file, right after the totalNumInsts variable. This is now available
in src/mem/cache/base.cc, so I can print the cache data only in the region
of interest of the benchmarks.
I'm also interested in changing the
Hi Prathap,
I have already implemented pseudo instructions for the ROI. The code is the
following:
//
// Mark beginning of ROI in simulated programs
//
void
roibegin(ThreadContext *tc)
{
DPRINTF(PseudoInst, "PseudoInst::roibegin()\n");
resetstats(tc, 0, 0);
}
//
// Mark end of ROI in
Why don't you use existing m5_ pseudo instructions around ROI of the
benchmark. Note to compile your benchmark with the m5 library.
If you are looking for more data, you may also add them in respective
mem/cache file and compile the gem.
Regards,
Prathap
On Wed, Oct 23, 2019 at 4:41 PM Victor
Hi,
I have implemented pseudo instructions for recognizing the Region of
Interest of the benchmarks that I am running. What I want to do is to start
printing some information (cache data) to a file as soon as the ROI begins.
This printing will be done through the base.cc file in mem/cache. I