From 18db81f024eac0dd2d772d487adfd32cb6dcd9e0 Mon Sep 17 00:00:00 2001 From: lyuxiaosu Date: Wed, 8 Dec 2021 16:35:47 -0500 Subject: [PATCH] update parse_parse_python.py --- runtime/tests/parse_parse_python.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/runtime/tests/parse_parse_python.py b/runtime/tests/parse_parse_python.py index 53d019b..85ddc3f 100644 --- a/runtime/tests/parse_parse_python.py +++ b/runtime/tests/parse_parse_python.py @@ -50,10 +50,11 @@ def get_values(key, value, miss_deadline_rate, total_latency, preemption_count): latency=finds[0].split(" ")[1] print(func_name, latency) total_latency[key1][percentage]=latency + rule3=r'scheduling counter: (.*)' finds=re.findall(rule3, rt) schedule_count=finds[0].strip() - preemption_count[key1]=schedule_count + preemption_count[key1][percentage]=schedule_count print("finds preemption count is ", schedule_count)