Patrick,
ِِYes and pkt is an instantiated PacketPtr, a little above my DPRINTF line.
I also left an intentional syntax error to find out if that appears at
output file, but it actually had no impact and the output file is the same.
how could it be possible? does really this comm_monitor.cc file do
something when i run the build command?
Regards,
Farshid

On Fri, Oct 31, 2014 at 9:04 PM, Patrick <[email protected]> wrote:

> Farshid,
>
> The PacketPtr::getAddr function returns an Addr.
>
> -Patrick
>
> On Fri, Oct 31, 2014 at 10:15 AM, Farshid Hajhashemi via gem5-users <
> [email protected]> wrote:
>
>> Hi,
>> I have modified a DPRINTF in comm_monitor.cc file under /build/ARM/mem
>> this way:
>>
>> DPRINTF(CommMonitor, "Forwarded read request\n");        =======>
>> DPRINTF(CommMonitor, "Forwarded read request %s \n", pkt->getAddr());
>>
>> just like a previous post here:
>> https://www.mail-archive.com/[email protected]/msg09302.html
>>
>>
>> but the trace output file still is printed like it was before(nothing has
>> been added). below is a sample of the output file:
>>
>> 11000: system.monitor2: Forwarded read request
>> 66250: system.monitor2: Latency: 55250
>> 66250: system.monitor2: Received read response
>> 108000: system.monitor2: Forwarded read request
>> .........................
>>
>> Am i doing something wrong?
>> Regards,
>> Farshid
>>
>>
>>
>> _______________________________________________
>> 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

Reply via email to