summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2019-11-25 15:15:18 +0100
committerDaniel Friesel <daniel.friesel@uos.de>2019-11-25 15:15:18 +0100
commit02ccf2b9bd80ddbbfd298bf52f0cd36aa078d0a7 (patch)
treea893657a2538d2be754cc902d89271d0d07913aa
parent40071a6e1ad9b53608f2d010fc7a62786895b05d (diff)
generate-dfa-benchmark: decrease initial delay in non-mimosa environments
-rwxr-xr-xbin/generate-dfa-benchmark.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/generate-dfa-benchmark.py b/bin/generate-dfa-benchmark.py
index 7d3091d..94505ac 100755
--- a/bin/generate-dfa-benchmark.py
+++ b/bin/generate-dfa-benchmark.py
@@ -104,7 +104,10 @@ def benchmark_from_runs(pta: PTA, runs: list, harness: OnboardTimerHarness, benc
# the initialization delay to -- this puts it into a well-defined state and
# decreases pre-sync power consumption
if 'energytrace' not in opt:
- outbuf.write('arch.delay_ms(12000);\n')
+ if 'mimosa' in opt:
+ outbuf.write('arch.delay_ms(12000);\n')
+ else:
+ outbuf.write('arch.delay_ms(2000);\n')
# Output some newlines to ensure the parser can determine the start of the first real output line
outbuf.write('kout << endl << endl;\n')