summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2020-07-22 14:27:53 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2020-07-22 14:27:53 +0200
commit4323693e69da14a28485afb4ada327491d78e8c2 (patch)
treed2b2a64171fe72b6886816c3c91c038e672cd166 /bin
parentf519d3c9500e4b5a56f8400f18e97dcc70a8718c (diff)
fix runner.get_counter_limits_us for non-default cpu frequencies
Diffstat (limited to 'bin')
-rwxr-xr-xbin/generate-dfa-benchmark.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/generate-dfa-benchmark.py b/bin/generate-dfa-benchmark.py
index 2c53d9f..356734b 100755
--- a/bin/generate-dfa-benchmark.py
+++ b/bin/generate-dfa-benchmark.py
@@ -639,7 +639,7 @@ if __name__ == "__main__":
gpio_pin=timer_pin,
gpio_mode=gpio_mode,
pta=pta,
- counter_limits=runner.get_counter_limits_us(opt["arch"]),
+ counter_limits=runner.get_counter_limits_us(opt["arch"], run_flags),
log_return_values=need_return_values,
repeat=1,
)
@@ -647,7 +647,7 @@ if __name__ == "__main__":
harness = OnboardTimerHarness(
gpio_pin=timer_pin,
pta=pta,
- counter_limits=runner.get_counter_limits_us(opt["arch"]),
+ counter_limits=runner.get_counter_limits_us(opt["arch"], run_flags),
log_return_values=need_return_values,
repeat=opt["repeat"],
)