Hi Fernando, Gabriel,

The timing is in cycles indeed, and the L1 and L2 caches are by default 
inheriting the CPU clock. Check the config.ini/config.json to ensure it has the 
value you expect. The latter will show you the clock period and resulting 
latency in ns.

The arm_detailed configuration is using a different cache configuration. See 
configs/common/O3_ARM_v7a.py

Andreas

From: Fernando Endo <[email protected]<mailto:[email protected]>>
Reply-To: gem5 users mailing list 
<[email protected]<mailto:[email protected]>>
Date: Monday, 29 April 2013 07:56
To: gem5 users mailing list <[email protected]<mailto:[email protected]>>
Subject: Re: [gem5-users] Units for gem5/configs/common/Caches.py?

Hello,

As far as I know, timings are in cpu cycles, so the latency and 
response_latency. And block_size is in bytes.

It's better recopying these configs in the gem5's command line when possible.

Regards,

--
Fernando A. Endo, PhD student and researcher

Universit� de Grenoble, UJF
France



2013/4/27 Gabriel Yessin <[email protected]<mailto:[email protected]>>
Below is taken from Caches.py. In what units are hit_latency and 
response_latency? Cycles? nanoseconds?

Also, are these the numbers that are used when the detailed version of arm is 
used? (using the default cache configurations with the classic memory subsystem)

class L1Cache(BaseCache):
    assoc = 2
    hit_latency = 2
    response_latency = 2
    block_size = 64
    mshrs = 4
    tgts_per_mshr = 20
    is_top_level = True



--
Gabriel Yessin
B.S. Biomedical Engineering, May 2011
M.S. Computer Engineering, May 2013
The George Washington University
774.238.0101<tel:774.238.0101>

_______________________________________________
gem5-users mailing list
[email protected]<mailto:[email protected]>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users


-- IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to