summaryrefslogtreecommitdiff
path: root/lib/harness.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/harness.py')
-rw-r--r--lib/harness.py6
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'