changeset a4a2ba97a654 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=a4a2ba97a654
description:
        config: Use null memory for DRAM sweep script

        Do not waste time when we do not care about the data.

diffstat:

 configs/dram/sweep.py |  6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diffs (23 lines):

diff -r 33f1c7b65a88 -r a4a2ba97a654 configs/dram/sweep.py
--- a/configs/dram/sweep.py     Fri May 15 13:38:45 2015 -0400
+++ b/configs/dram/sweep.py     Fri May 15 13:38:46 2015 -0400
@@ -93,6 +93,9 @@
 mem_range = AddrRange('256MB')
 system.mem_ranges = [mem_range]
 
+# do not worry about reserving space for the backing store
+mmap_using_noreserve = True
+
 # force a single channel to match the assumptions in the DRAM traffic
 # generator
 options.mem_channels = 1
@@ -104,6 +107,9 @@
 if not isinstance(system.mem_ctrls[0], m5.objects.DRAMCtrl):
     fatal("This script assumes the memory is a DRAMCtrl subclass")
 
+# there is no point slowing things down by saving any data
+system.mem_ctrls[0].null = True
+
 # Set the address mapping based on input argument
 # Default to RoRaBaCoCh
 if options.addr_map == 0:
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to