Hi all, The CommMonitor was designed to do just this. I would suggest you instantiate it at the location in the memory system where you want to “trace” the packets, and then configure it to dump the trace to a file. There are plenty examples in the regressions, and also a short intro on the wiki.
Andreas From: gem5-users <gem5-users-boun...@gem5.org<mailto:gem5-users-boun...@gem5.org>> on behalf of 没名字 <13630583...@163.com<mailto:13630583...@163.com>> Reply-To: gem5 users mailing list <gem5-users@gem5.org<mailto:gem5-users@gem5.org>> Date: Thursday, 16 March 2017 at 00:13 To: "gem5-users@gem5.org<mailto:gem5-users@gem5.org>" <gem5-users@gem5.org<mailto:gem5-users@gem5.org>> Subject: [gem5-users] How to collect write/read request to L2cache in multiCPU se.py configuration. Hi ,gem5 users! I am using gem5 to collect write/read request to L2cache in multiCPU se.py configuration.I want to know the info about task id,cpu id,isWrite or isRead of each request sent from the cpu to the L2cache. I see the stats.txt,but it only contains the total number of instructions,is there a way to configure the output to stats.txt.if there is,which file it should be? Someone told me to use src/cpu/inst_pb_trace.cc to write my own code,but I donnot know the usage of tihs Object.Is there a API of gem5's python or c++' class?Like SrcClockDomain() in python se.py Thanks to you all! IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users