Hi,

Adding some more details.
I am using the following commands.

1. ../../build/ARM/gem5.opt conf/tlm_slave.py
2. build/examples/slave_port/gem5.sc m5out/config.ini -e 1000000

In sim_control.cc, in the constructor Gem5SimControl(), I see that the
stats handlers are registered.

    gem5::statistics::initSimStats();
    gem5::statistics::registerHandlers(CxxConfig::statsReset,
        CxxConfig::statsDump);

and in main.cc - CxxConfig::statsDump() is being called. On further
debugging using gdb and prints I noticed that the
gem5::statistics::statsList() in
gem5/util/systemc/gem5_within_systemc/stats.cc is returning an empty list.
I am not sure why.

Can someone help provide some pointers or anything that could help me
resolve this issue?

Thank you,
Shankar

On Mon, Jul 31, 2023 at 3:18 PM Shankar Gudla <sgudla2.n...@gmail.com>
wrote:

> Hi All,
>
> I am using the instructions under gen5/til/tlm/README. I see that no stats
> are generated after the run is completed.
> Is it because we don't use the python wrapper to execute the run? How do
> we call the dumping of stats at the end of the run in case gem5-TLM?
> Can someone please help me resolve this?
>
> Thank you,
> Shankar
>
>
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org

Reply via email to