summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2020-12-14 12:45:23 +0100
committerDaniel Friesel <daniel.friesel@uos.de>2020-12-14 12:45:23 +0100
commit0572a91c6199b42996729bd852a02c2ad51dafbb (patch)
treef2f8a19d69ab78dc31b1b74a44e735b1ad6550a7
parent5a0322b9aff40b536183c610aaedcd9c4f3622de (diff)
runner: energytrace: wait for benchmark end synchronization pulses
-rw-r--r--lib/runner.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/runner.py b/lib/runner.py
index 34498ac..d368a37 100644
--- a/lib/runner.py
+++ b/lib/runner.py
@@ -169,6 +169,8 @@ class EnergyTraceMonitor(SerialMonitor):
# Benchmark fertig -> externe Hilfsprogramme beenden
def close(self):
+ # wait for tail sync
+ time.sleep(2)
super().close()
self._logger.send_signal(subprocess.signal.SIGINT)
stdout, stderr = self._logger.communicate(timeout=15)