Sorry I meant,

Firstly, had I not added this line *system = Param.System(Parent.any,
"System that the monitor belongs to.")* in the CommMonitor.py then I'm
getting an error.

On Wed, Nov 29, 2017 at 8:14 PM, Saivarun R <rsvaru...@gmail.com> wrote:

> Hi Serhat,
> Thank you for replying,
>
> Firstly, I had not added this line *system = Param.System(Parent.any,
> "System that the monitor belongs to.")* in the CommMonitor.py then I'm
> getting an error. PFA. But as you suggested, I didn't actually attach a
> MemTraceProbe to the commMonitor. Please tell me, how should I proceed.
>
> Thank you
> Varun
>
>
> On Wed, Nov 29, 2017 at 5:45 PM, Serhat Gesoglu <
> serhat.geso...@manchester.ac.uk> wrote:
>
>> Hello,
>> I believe you do not need to change anything on CommMonitor.py. Did you
>> follow the instructions here and attach a probe to the monitor you are
>> using: http://gem5.org/General_Memory_System#Traffic_analysis_and_
>> memory_trace_capture ?
>>
>> Cheers
>> Serhat Gesoglu
>>
>> ------------------------------
>> *From:* gem5-users [gem5-users-boun...@gem5.org] on behalf of Saivarun R
>> [rsvaru...@gmail.com]
>> *Sent:* 29 November 2017 08:53
>> *To:* gem5-users@gem5.org
>> *Subject:* [gem5-users] CommMonitor.cc not generating trace file
>>
>> Hi,
>>
>> I added CommMonitor between cpu and L1Dcache. I'm using the current gem5
>> from the github and updated to the branch hpca.
>>
>> The CommMonitor is seen in the config.dot.pdf file generated. PFA. But
>> the trace file is not getting generated in m5out directory. Actually, the
>> CommMonitor.py does not even have the argument trace_file, the first time I
>> ran the simulation. I then added the argument in that file. There is a lot
>> of difference between the comm_monitor.cc file that is there with me and
>> that in the the last stable version.
>>
>> I used detailedcpu with l1i_cache and l1d_cache. Kindly, help me in
>> generating the trace file.
>>
>> Thank you in advance
>> Varun
>>
>> _______________________________________________
>> gem5-users mailing list
>> gem5-users@gem5.org
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>
>
>
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to