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
Hi,
Adding some more details.
I am using the following commands.
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.ncsu@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