diff options
author | Andreas Hansson <andreas.hansson@arm.com> | 2014-12-23 09:31:18 -0500 |
---|---|---|
committer | Andreas Hansson <andreas.hansson@arm.com> | 2014-12-23 09:31:18 -0500 |
commit | e76e8e28a3d62e20d2df75b60943442e78fa212b (patch) | |
tree | a9fbf29f44bb41dd8417bf4aed731ca9c4265d65 /tests/configs | |
parent | 7a25b1a0e02b1587fe18439ad81591704196d519 (diff) | |
download | gem5-e76e8e28a3d62e20d2df75b60943442e78fa212b.tar.xz |
tests: Add a regression for the stack distance calculator
Re-use the existing traffic generator regression, and enable the stack
distance calculation in the comm monitor, along with the verification
stack.
The traffic generator config is also tuned to not increase the
run-time too much (and actually have some address re-use).
Diffstat (limited to 'tests/configs')
-rw-r--r-- | tests/configs/tgen-simple-mem.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/configs/tgen-simple-mem.py b/tests/configs/tgen-simple-mem.py index 1e07efe2c..be700ac7a 100644 --- a/tests/configs/tgen-simple-mem.py +++ b/tests/configs/tgen-simple-mem.py @@ -54,9 +54,11 @@ system = System(cpu = cpu, physmem = SimpleMemory(), voltage_domain = VoltageDomain())) -# add a communication monitor, and also trace all the packets +# add a communication monitor, and also trace all the packets and +# calculate and verify stack distance system.monitor = CommMonitor(trace_file = "monitor.ptrc.gz", - trace_enable = True) + trace_enable = True, + stack_dist_calc = StackDistCalc(verify = True)) # connect the traffic generator to the bus via a communication monitor system.cpu.port = system.monitor.slave |