Farshid,

The PacketPtr::getAddr function returns an Addr.

-Patrick

On Fri, Oct 31, 2014 at 10:15 AM, Farshid Hajhashemi via gem5-users <
gem5-users@gem5.org> 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/gem5-users@gem5.org/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
> 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