diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-03-05 16:10:49 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-03-05 16:10:49 +0100 |
commit | cc31a043f21c16986d7b33eabb05cfc34d6e0390 (patch) | |
tree | 024529d92341a8b3096095e3043dc204082f17db /lib/harness.py | |
parent | cf7e68c388bd1ef0e9e2ee64b5193e09be16b6da (diff) |
working benchmark generation
Diffstat (limited to 'lib/harness.py')
-rw-r--r-- | lib/harness.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/harness.py b/lib/harness.py index 3f8d93c..67a9f7d 100644 --- a/lib/harness.py +++ b/lib/harness.py @@ -22,7 +22,11 @@ class OnboardTimerHarness: return ret def start_benchmark(self): - return 'ptalog.startBenchmark(0);\n' + ret = 'counter.start();\n' + ret += 'counter.stop();\n' + ret += 'ptalog.passNop(counter);\n' + ret += 'ptalog.startBenchmark(0);\n' + return ret def start_run(self): return 'ptalog.reset();\n' |