I changed BaseCPU.py to trace Data Movemnet CPU and L1DCache.

Changed Code is this.

    def addPrivateSplitL1Caches(self, ic, dc, iwc = None, dwc = None):
        self.monitor = commMonitor.CommMonitor()
        self.monitor.trace =
memtraceprobe.MemTraceProbe(trace_file="se_trace.ptrc.gz")
        print("test this build")
        self.icache = ic
        self.dcache = dc
        self.icache_port = ic.cpu_side
        #self.dcache_port = dc.cpu_side
        self.dcache_port = self.monitor.slave
        self.monitor.master = dc.cpu_side

I ran a splash2 Benchmark on the X86/SE model and was able to get the
se_trace.ptrc.gz file as a result of the corresponding code.

ran se command is this.

~/gem5/build/X86/gem5.opt --outdir=m5out/bbench
~/gem5/configs/example/se.py -c
~/gem5/benchmark/splash2/codes/kernels/fft/FFT --cpu-type=DerivO3CPU
--l1d_size=64kB --l1i_size=16kB --caches --elastic-trace-en
--data-trace-file=deptrace.proto.gz --inst-trace-file=fetchtrace.proto.gz
--mem-type=SimpleMemory

I want to decode result file from Commmonitor(se_trace.ptrc.gz) but i don't
find good example. plz direction
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to