Thanks Ayaz. That's helpful. Is there a way to also dump what instructions apart from number of instructions?
On Thu, Feb 23, 2023, 2:34 PM Ayaz Akram <yazak...@ucdavis.edu> wrote: > Hi Priyanka, > > By default, the dumped stats have the total number of instructions and > cycles/ticks for a specific simulation. If you want to look at these stats > over smaller time intervals, one possible option is to change your gem5 run > script to simulate for a specific time, dump stats, and keep repeating this > process until the finish point. As a result, your stats file will have > multiple instances of dumped stats. > > For example, if you run something like the following in a loop: > > m5.simulate(10000000) > m5.stats.dump() > > You will have stats corresponding to each "10000000" ticks interval. > > -Ayaz > > On Thu, Feb 23, 2023 at 1:32 AM Priyanka Ankolekar via gem5-users < > gem5-users@gem5.org> wrote: > >> Hello, >> Is there a way to get data for "instructions retired versus cycle or >> ticks" (system.cpu.exec_context.thread_0.numInsts versus cycle (or tick), >> and what are those instructions per tick)? Currently I can see the >> cumulative number for numInsts. >> >> Thanks, >> Priyanka. >> >> _______________________________________________ >> gem5-users mailing list -- gem5-users@gem5.org >> To unsubscribe send an email to gem5-users-le...@gem5.org >> >
_______________________________________________ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org