[gem5-users] Re: Retired instructions versus ticks

2023-03-22 Thread Priyanka Ankolekar via gem5-users
Thank you, Eliot. I think this would give me what I need. Priyanka. On Wed, Mar 22, 2023, 11:55 AM Eliot Moss wrote: > On 3/22/2023 12:09 PM, Priyanka Ankolekar via gem5-users wrote: > > > > Regarding the other part of your email: > > Let me begin by saying I am a novice to both RISCV and gem5.

[gem5-users] Re: Retired instructions versus ticks

2023-03-22 Thread Eliot Moss via gem5-users
On 3/22/2023 12:09 PM, Priyanka Ankolekar via gem5-users wrote: Regarding the other part of your email: Let me begin by saying I am a novice to both RISCV and gem5. I have a RISCV RTL with a certain config. I have set up gem5 to match that configuration. I want to make sure that they are indeed

[gem5-users] Re: Retired instructions versus ticks

2023-03-22 Thread Priyanka Ankolekar via gem5-users
Regarding the other part of your email: Let me begin by saying I am a novice to both RISCV and gem5. I have a RISCV RTL with a certain config. I have set up gem5 to match that configuration. I want to make sure that they are indeed equivalent so that I can run some experiments on gem5 (instead of o

[gem5-users] Re: Retired instructions versus ticks

2023-03-22 Thread Eliot Moss via gem5-users
On 3/22/2023 11:11 AM, Priyanka Ankolekar wrote: Sorry, I should have clarified. I am using the RISCV ISA in gem5. (As you could have done,) I checked the gem5 sources, and it *does* model that register, returning totalInsts as gem5 calculates that. Presumably that is the same as statistics wi

[gem5-users] Re: Retired instructions versus ticks

2023-03-22 Thread Priyanka Ankolekar via gem5-users
Sorry, I should have clarified. I am using the RISCV ISA in gem5. On Wed, Mar 22, 2023, 5:44 AM Eliot Moss wrote: > On 3/22/2023 8:37 AM, Priyanka Ankolekar via gem5-users wrote: > > Thank you, Eliot. > > > > Is there a way to probe minstret CSR to get the retired instructions? > > ?? What ISA

[gem5-users] Re: Retired instructions versus ticks

2023-03-22 Thread Eliot Moss via gem5-users
On 3/22/2023 8:37 AM, Priyanka Ankolekar via gem5-users wrote: Thank you, Eliot. Is there a way to probe minstret CSR to get the retired instructions? ?? What ISA are you talking about? I doubt that gem5 would model such details of a processor architecture. Maybe you should back up a little

[gem5-users] Re: Retired instructions versus ticks

2023-03-22 Thread Priyanka Ankolekar via gem5-users
Thank you, Eliot. Is there a way to probe minstret CSR to get the retired instructions? Thanks Priyanka. On Mon, Mar 20, 2023, 2:45 PM Eliot Moss wrote: > On 3/20/2023 5:05 PM, Priyanka Ankolekar via gem5-users wrote: > > Hi Eliot, > > (Picking this up again after a while.) :-) > > > > Thank y

[gem5-users] Re: Retired instructions versus ticks

2023-03-20 Thread Eliot Moss via gem5-users
On 3/20/2023 5:05 PM, Priyanka Ankolekar via gem5-users wrote: Hi Eliot, (Picking this up again after a while.) :-) Thank you for your detailed answer. I was able to get a lot of useful data points from these statistics. Is there a way to get what instruction was retired/committed and when (tic

[gem5-users] Re: Retired instructions versus ticks

2023-03-20 Thread Priyanka Ankolekar via gem5-users
Hi Eliot, (Picking this up again after a while.) :-) Thank you for your detailed answer. I was able to get a lot of useful data points from these statistics. Is there a way to get what instruction was retired/committed and when (tick)? Thanks, Priyanka. On Thu, Feb 23, 2023 at 6:31 PM Eliot Moss

[gem5-users] Re: Retired instructions versus ticks

2023-02-23 Thread Eliot Moss via gem5-users
On 2/24/2023 11:31 AM, Priyanka Ankolekar via gem5-users wrote: Hi Eliot, I am trying to correlate my gem5 RISCV configuration with a RISCV RTL design for a certain benchmark. I would like to plot /retired instructions versus ticks/ to make sure that both (gem5 and RTL) are (mostly) performing

[gem5-users] Re: Retired instructions versus ticks

2023-02-23 Thread Priyanka Ankolekar via gem5-users
Hi Eliot, I am trying to correlate my gem5 RISCV configuration with a RISCV RTL design for a certain benchmark. I would like to plot *retired instructions versus ticks* to make sure that both (gem5 and RTL) are (mostly) performing the same operations. (I already have this plot from RTL). Is there

[gem5-users] Re: Retired instructions versus ticks

2023-02-23 Thread Eliot Moss via gem5-users
On 2/24/2023 9:42 AM, Priyanka Ankolekar via gem5-users wrote: Thanks Ayaz. That's helpful. Is there a way to also dump what instructions apart from number of instructions? Dumps generally include counts of categories of instructions, such as how many loads, how many stores, etc. Not sure what

[gem5-users] Re: Retired instructions versus ticks

2023-02-23 Thread Priyanka Ankolekar via gem5-users
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 wrote: > Hi Priyanka, > > By default, the dumped stats have the total number of instructions and > cycles/ticks for a specific simulation. If you

[gem5-users] Re: Retired instructions versus ticks

2023-02-23 Thread Ayaz Akram via gem5-users
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 re