Hi, final_tick and sim_insts are RootStats (they are in src/sim/root.cc) and they won't be reset by calling reset stats.
Regards, Hoa Nguyen On 4/11/21, kong han via gem5-users <[email protected]> wrote: > Hi all, > Now I using the KVM CPU to run fs mode, and I try two ways to reset the > m5out/stats.txt but all can’t work. > > 1) I use the m5.stats.reset() and m5.stats.dump() functions in the > python script before switch cpu, the m5out/stats.txt will be written. But > then I use m5.stats.reset() and m5.stats.dump() before next times, the > m5out/stats.txt has no changes, the final_tick, sim_insts will not be reset > to start from 0. > > 2) So I try to use the m5 –addr 0x10010000 > dumpstats/resetstats/dumpresetstats after connect by m5term, but the same > problem is still. > I would appreciate it if someone can help me explain this problem. > > > > _______________________________________________ gem5-users mailing list -- [email protected] To unsubscribe send an email to [email protected] %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
