[gem5-users] Re: gcc compilation with m5_dump_stats/reset_stats

2023-01-25 Thread Ayan Ray via gem5-users
Please ignore. Resolved with adding the m5ops.S file in gcc command line On Thu, Jan 26, 2023 at 12:52 AM Preet Derasari wrote: > Hi Ayan, > > Can you show how you have coded the m5_dump_stats and m5_reset_stats? > > I would also recommend using multiple m5_dump_reset_stats(0,0) commands if > yo

[gem5-users] Re: gcc compilation with m5_dump_stats/reset_stats

2023-01-25 Thread Preet Derasari via gem5-users
Hi Ayan, Can you show how you have coded the m5_dump_stats and m5_reset_stats? I would also recommend using multiple m5_dump_reset_stats(0,0) commands if you just want to print the statistics for a specific code regions. Also did you correctly compile the m5utils as described here?: https://www.

[gem5-users] Re: gcc compilation with m5_dump_stats/reset_stats

2023-01-25 Thread Preet Derasari via gem5-users
Hi Ayan, Can you show how you have coded the m5_dump_stats and m5_reset_stats? I would also recommend using multiple m5_dump_reset_stats(0,0) commands if you just want to print the statistics for a specific code regions. Also did you correctly compile the m5utils as described here?: https://www.