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 <
[email protected]> 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 -- [email protected]
> To unsubscribe send an email to [email protected]
>
_______________________________________________
gem5-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to