config: Fix lat_mem_rd example script
authorAndreas Hansson <andreas.hansson@arm.com>
Tue, 4 Oct 2016 14:44:52 +0000 (15:44 +0100)
committerAndreas Hansson <andreas.hansson@arm.com>
Tue, 4 Oct 2016 14:44:52 +0000 (15:44 +0100)
Adjust the traffic generator time-out so that the script works out of
the box

Change-Id: I6b3b6b11f98b094ae3acdbe09488c26e4aeb0ab4
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
configs/dram/lat_mem_rd.py

index 87917418d43ae71646693b1c3adab9734422f52b..374f1d4befc6494c5ca588af1617b9faa582883f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (c) 2015 ARM Limited
+# Copyright (c) 2015-2016 ARM Limited
 # All rights reserved.
 #
 # The license below extends only to copyright in the software and shall
@@ -247,7 +247,8 @@ cfg_file.write("TRANSITION %d %d 1\n" % (nxt_state - 1, nxt_state - 1))
 cfg_file.close()
 
 # create a traffic generator, and point it to the file we just created
-system.tgen = TrafficGen(config_file = cfg_file_name)
+system.tgen = TrafficGen(config_file = cfg_file_name,
+                         progress_check = '10s')
 
 # add a communication monitor
 system.monitor = CommMonitor()