1 """Check lines for Boundedness"""
2
3 import re
4
5 boundingRegExp="^bounding (.+), min: (.+) max: (.+) average: (.+)$"
6
7
8
9
10 from GeneralLineAnalyzer import GeneralLineAnalyzer
11
13 """Parses the line for information about variables being bounded
14
15 Writes files of the form bounding_<var>"""
16
17 - def __init__(self,doTimelines=True,doFiles=True):
20
22 name=match.groups()[0]
23 rest=match.groups()[1:]
24 self.files.write("bounding_"+name,self.parent.getTime(),rest)
25
27 name=match.groups()[0]
28 rest=match.groups()[1:]
29
30 self.lines.setValue(name+"_min",rest[0])
31 self.lines.setValue(name+"_max",rest[1])
32 self.lines.setValue(name+"_avg",rest[2])
33
35 """Parses the line for information about variables being bounded
36
37 Writes files of the form bounding_<var>"""
38
41
42
43
44
45
46
47
48
49
50
51
53 """Parses the line for information about variables being bounded"""
54
57
58
59
60
61
62
63
64
65
66
67
68
69
70