thanks a lot

On 5/18/12, Hammond, Simon David (-EXP) <[email protected]> wrote:
> Hi,
>
> If you know what the clock rate of the processor is the time for a cycle = 1
> / clock rate seconds. If you know a cache access takes 2 cycles then time
> for a cache acces = (1 / clock rate) * 2.
>
> e.g. 1GHz: t_cycle = 1 / 1,000,000,000 seconds
> 2 cycle latency = t_cycle * 2
>
> Make sure if you change the processor clock you also change the latency
> values :).
>
> ________________________________________
> From: [email protected] [[email protected]] on behalf of
> Mahmood Naderan [[email protected]]
> Sent: Friday, May 18, 2012 9:19 AM
> To: gem5 users mailing list
> Subject: [EXTERNAL] [gem5-users] convertig "ns" to "cycles"
>
> Hi
> I papers the latency is mentioned as number of cycles. For example the
> latency of L1 cache is said to be 1 or 2 cycles. However in gem5, the
> units are based on "seconds". So can we convert "ns" cycles? In
> another word, if I want to set the L1 latency to 2 cycles, what is the
> corresponding value in "ns"?
>
> Thanks
> --
> // Naderan *Mahmood;
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>


-- 
// Naderan *Mahmood;
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to