Hi Abhishek,
The message you point to does indeed contain a bug. I’ll sort that out.
When it comes to the trace file, what makes you say it contains garbage? It’s a
binary format based on protobuf. What does the util/decode_packet_trace.py say?
Andreas
From: Abhishek Deshpande <[email protected]<mailto:[email protected]>>
Reply-To: gem5 users mailing list
<[email protected]<mailto:[email protected]>>
Date: Monday, 17 February 2014 23:27
To: Aditya Deshpande
<[email protected]<mailto:[email protected]>>
Cc: "[email protected]<mailto:[email protected]>"
<[email protected]<mailto:[email protected]>>
Subject: Re: [gem5-users] How can I trace data of Cache?
Hello all,
Thank you Andreas for writing wiki.
I have attached CommMonitor between L2 and membus. After simulation,
CommMonitor is present in config.json and stats.txt. However, I am not able to
read trace_file associated with CommMonitor. It contains garbage data. I tried
using script in util/ as well. Additionally, I get following warning when I
start simulation. I have attached snapshot below.
Can you please take a look into this and let me know what is wrong.
Thanks for your help and support.
Simulation Snapshot:
gem5 compiled Feb 14 2014 15:48:18
gem5 started Feb 16 2014 01:14:01
gem5 executing on palomar.ece.umn.edu<http://palomar.ece.umn.edu>
command line: ./build/ALPHA/gem5.opt --debug-flags=CommMonitor
./configs/example/fs.py --checkpoint-restore=1 --restore-with-cpu=timing
--num-cpus=1 --cpu-clock=2.0GHz --caches --l2cache --num-l2caches=1
--l1d_size=32kB --l1d_assoc=8 --l1i_size=32kB --l1i_assoc=4 --l2_size=1MB
--l2_assoc=8 --script=./benchmark_Scripts/fft.rcS
Global frequency set at 1000000000000 ticks per second
info: kernel located at:
/project/chriskim10/abhishek/gem5_fs/gem5-stable/binaries/vmlinux
0: system.tsunami.io.rtc: Real-time clock set to Thu Jan 1 00:00:00 2009
0: system.cachemonitor: Created monitor system.cachemonitor with sample
period 1000000000 ticks (<bad arg type for float format> s)
Switch at curTick count:10000
info: Entering event queue @ 2254843455000. Starting simulation...
Regards,
Abhishek
On Wed, Feb 12, 2014 at 10:53 AM, Aditya Deshpande
<[email protected]<mailto:[email protected]>> wrote:
Abhishek,
Look at this mail thread
http://www.mail-archive.com/[email protected]/msg09221.html
You need to have google-protobuf installed to use CommMonitor.
Regards,
Aditya
-- 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.
ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered
in England & Wales, Company No: 2557590
ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ,
Registered in England & Wales, Company No: 2548782_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users