Hi ,
I have used m5_dump_stats and reset_stats in the cpp file. But when i
compile with below command still it complains , included the m5ops.h too :
#include
#include "gem5/m5ops.h"
g++ -static -I include -o test test.cpp
test.cpp:(.text+0xca): undefined reference to `m5_dump_stats'
test.c
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.
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.
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
Thank you, Ayaz. That worked.
On Tue, Jan 24, 2023 at 10:14 AM Ayaz Akram wrote:
> Hi Priyanka,
>
> I think adding something like the following line in your script should
> solve the problem you are running into:
>
> system.platform.pci_host.pio = system.iobus.mem_side_ports
>
> -Ayaz
>
> On Tue
Hello,
I am trying to run Dhrystone on gem5 RISCV using the fs_linux.py file in
the gem5 repo.
configs/example/riscv/fs_linux.py
Here is the command I am using:
./build/RISCV/gem5.opt --debug-start=0 --debug-flags=Exec
--debug-file=trace.out ./configs/example/riscv/fs_linux.py --bare-metal
--ker