gem5-users@gem5.org

The gem5 Users mailing list

View all threads

Query regarding l1 load hit time

GP
Gautam Pathak
Thu, Jul 6, 2023 9:57 PM

Hi,

I am trying to set accurate latency numbers for my test system, and I noticed a weird thing happening in the logs.

My system.clk_domain.clock is 1000 so that should mean 1000 ticks equal to 1 cycle. I noticed that the time it takes for LD to finish is (4761575500−4761566500) which is 9000 ticks i.e. 9 cycles, but the debug print says that it took 18 cycles. Am I missing something here? It would be great if someone could clarify on this.

[image]

Thanks and Regards,
Gautam

Hi, I am trying to set accurate latency numbers for my test system, and I noticed a weird thing happening in the logs. My system.clk_domain.clock is 1000 so that should mean 1000 ticks equal to 1 cycle. I noticed that the time it takes for LD to finish is (4761575500−4761566500) which is 9000 ticks i.e. 9 cycles, but the debug print says that it took 18 cycles. Am I missing something here? It would be great if someone could clarify on this. [image] Thanks and Regards, Gautam