But by the way, in my case, 'std::cout<<; ' works well for printing runtime data. ________________________________ From: Haoyu Wang via gem5-users <gem5-users@gem5.org> Sent: 20 March 2023 09:09 To: Karim Soliman <karim.soli...@pua.edu.eg> Cc: The gem5 Users mailing list <gem5-users@gem5.org>; Haoyu Wang <haoyu.w...@soton.ac.uk> Subject: [gem5-users] Re: GEM5 - Garnet - Mesh_XY
CAUTION: This e-mail originated outside the University of Southampton. Hi Karim, Did you try to rebuild (scons) your system after adding DPRINTF? Best regards, Henry University of Southampton From: Karim Soliman via gem5-users <gem5-users@gem5.org> Sent: 20 March 2023 08:09 To: The gem5 Users mailing list <gem5-users@gem5.org> Cc: Karim Soliman <karim.soli...@pua.edu.eg> Subject: [gem5-users] GEM5 - Garnet - Mesh_XY CAUTION: This e-mail originated outside the University of Southampton. Hey everyone, for learning purposes, I'm trying to print out the packets or flits information being routed inside the Mexh_XY routing algorithm. inside file "mem/ruby/network/garnet/RoutingUnit.cc" I tried to DPRINTF but it did not work. one more thing, inside the Mesh_XY routing algorithm, what happens when the message is received at the destination, in the Mesh_XY function just the direction for the routing. Where can I check that a packet / message has been delivered to its destination. [https://upload.wikimedia.org/wikipedia/en/thumb/6/64/Pharos_University.jpg/220px-Pharos_University.jpg] Best Regards, Eng. Karim Soliman Teaching Assistant Computer Engineering Department Pharos University in Alexandria (P.U.A)
_______________________________________________ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org