[gem5-users] Re: GEM5 - Garnet - Mesh_XY

2023-03-20 Thread Haoyu Wang via gem5-users
But by the way, in my case, 'std::cout<<; ' works well for printing runtime data. From: Haoyu Wang via gem5-users Sent: 20 March 2023 09:09 To: Karim Soliman Cc: The gem5 Users mailing list ; Haoyu Wang Subject: [gem5-users] Re: GEM5 - Garnet - Mesh_XY

[gem5-users] Re: GEM5 - Garnet - Mesh_XY

2023-03-20 Thread atul.21csz0013--- via gem5-users
Did you run at .debug mode while using Dprintf? Also, I think std::cout will also work for printing. regards Atul ___ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org

[gem5-users] Re: Retired instructions versus ticks

2023-03-20 Thread Eliot Moss via gem5-users
On 3/20/2023 5:05 PM, Priyanka Ankolekar via gem5-users wrote: Hi Eliot, (Picking this up again after a while.) :-) Thank you for your detailed answer. I was able to get a lot of useful data points from these statistics. Is there a way to get what instruction was retired/committed and when

[gem5-users] Re: Retired instructions versus ticks

2023-03-20 Thread Priyanka Ankolekar via gem5-users
Hi Eliot, (Picking this up again after a while.) :-) Thank you for your detailed answer. I was able to get a lot of useful data points from these statistics. Is there a way to get what instruction was retired/committed and when (tick)? Thanks, Priyanka. On Thu, Feb 23, 2023 at 6:31 PM Eliot

[gem5-users] Re: GEM5 - Garnet - Mesh_XY

2023-03-20 Thread Karim Soliman via gem5-users
Yes, I understand that. DPRINTF and std::cout work fine with me too. But i'm sorry, my question wasn't about using DPRINTF, I already used it before and it worked fine. My question is about the flit inside the Mesh_XY routing, i want to debug and print the flits or packets to trace it during the

[gem5-users] Re: GEM5 - Garnet - Mesh_XY

2023-03-20 Thread Krishna, Tushar via gem5-users
You can just print each flit (cout << *t_flit) in InputUnit.cc wakeup function .. Cheers, Tushar On Mar 20, 2023, at 9:50 PM, Karim Soliman via gem5-users wrote:  inside file mem/ruby/network/garnet/flit.cc I found this function that can print out the flit data during the simulation. But I

[gem5-users] Re: GEM5 - Garnet - Mesh_XY

2023-03-20 Thread Karim Soliman via gem5-users
inside file *mem/ruby/network/garnet/flit.cc* I found this function that can print out the flit data during the simulation. But I don't know how to call it during the simulation. // Flit can be printed out for debugging purposes void flit::print(std::ostream& out) const { out << "[flit:: ";

[gem5-users] GEM5 - Garnet - Mesh_XY

2023-03-20 Thread Karim Soliman via gem5-users
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,

[gem5-users] Re: GEM5 - Garnet - Mesh_XY

2023-03-20 Thread Haoyu Wang via gem5-users
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 Sent: 20 March 2023 08:09 To: The gem5 Users mailing list Cc: Karim Soliman Subject: [gem5-users] GEM5 - Garnet - Mesh_XY CAUTION: This