Hi Muhammad, I would write a new probe and run your analysis online instead of trying to generate a trace and running it after the fact. See the examples in src/mem/probes.
Jason ----------- Jason Lowe-Power Assistant Professor, Computer Science Department University of California, Davis 3049 Kemper Hall https://faculty.engineering.ucdavis.edu/lowepower/ On Thu, May 17, 2018 at 7:47 AM Muhammad Imran <[email protected]> wrote: > Hi friends, > > I am new to learning and using gem5. Currently, I am working on analysis > of memory write patterns for various benchmarks. I need to get exact data > patterns or at least get the ratio of 1's and 0's or of different states > such as '11', '00' etc. So far I could get some information by using debug > flag, *--debug-flags=MemoryAccess. *But using only this flag generates a > lot of information in addition to data being written to the memory while I > am interested only in data patterns. A naive solution would be to process > the output trace file to get only the data. I am sure there must be a more > efficient way of getting this and someone must have worked on this kind of > problem before. Someone with prior experience with this kind of problem can > save me a lot of time than trying to figure it out the hard way. > > Thanks and regards, > Muhammad Imran > _______________________________________________ > 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
