There is not much info in this regard and I am no expert because I don't
use this regularly. Here is some info I found when I used Monitor.
You first need to connect the Monitor. You can do something like this:
system.monitor = CommMonitor(trace_file="comm.trace")
system.membus.master = system.monitor.slave
system.monitor.master = system.mem_ctrls[0].port
The code above connects the monitor between membus and memory controllers
to track requests sent to memory.
Second you need to decode the trace file. Read this thread for that:
http://www.mail-archive.com/[email protected]/msg08430.html
Hope this helps.
Thanks,
Amin
On Thu, Sep 26, 2013 at 6:48 AM, Sophiane SENNI
<[email protected]>wrote:
> Hi everybody,
>
> I want to use the Communication Monitor to get read/write memory latency
> for cache. But I don't find any document on how using the Communication
> Monitor in gem5.
>
> Could someone help me or show me where could I get more information about
> using the Communication Monitor ?
>
>
> SENNI Sophiane
>
> _______________________________________________
> 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