aboutsummaryrefslogtreecommitdiffstats
path: root/parse/ft.py
diff options
context:
space:
mode:
authorJonathan Herman <hermanjl@cs.unc.edu>2012-09-29 17:38:06 -0400
committerJonathan Herman <hermanjl@cs.unc.edu>2012-09-29 17:38:06 -0400
commitc6adbabd0bf897a1e750fe07bf068e285dd82108 (patch)
tree440b94beaa285f8c21dc1d9407e9c676a99c1a95 /parse/ft.py
parent2844e3887b4ff635dfa85e9b2ec773b06fe9af4f (diff)
Bug fixes for mixed-criticality task systems.
Diffstat (limited to 'parse/ft.py')
-rw-r--r--parse/ft.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse/ft.py b/parse/ft.py
index 868c8ca..20a430e 100644
--- a/parse/ft.py
+++ b/parse/ft.py
@@ -49,7 +49,7 @@ def extract_ft_data(data_file, result, overheads):
49 49
50 for ovh in overheads: 50 for ovh in overheads:
51 measure = Measurement("%s-%s" % (data_file, ovh)) 51 measure = Measurement("%s-%s" % (data_file, ovh))
52 vals = re.findall(".*{}".format(ovh) + rstr, data); 52 vals = re.findall(r"\s+{}".format(ovh.replace('_','-')) + rstr, data);
53 if len(vals) != 0: 53 if len(vals) != 0:
54 vals = vals[0] 54 vals = vals[0]
55 measure[Type.Max] = float(vals[0]) 55 measure[Type.Max] = float(vals[0])