Home | History | Annotate | Download | only in sdcard

Lines Matching refs:line

50   def __init__(self, line):
52 'duration ([0-9.]+). Samples: ([0-9]+)'), line)
97 def Parse(self, line):
98 if line.startswith('# Kernel:'):
99 self.kernel = re.search('Linux version ([0-9.]+-[^ ]+)', line).group(1)
100 elif line.startswith('# Command:'):
101 self.command_line = re.search('# Command: [/\w_]+ (.*)', line).group(1)
105 elif line.startswith('# Iterations'):
106 self.iterations = int(re.search('# Iterations: ([0-9]+)', line).group(1))
107 elif line.startswith('# Fadvise'):
108 self.fadvise = re.search('# Fadvise: ([\w]+)', line).group(1)
109 elif line.startswith('# Sched'):
110 self.sched = re.search('# Sched features: ([\w]+)', line).group(1)
137 for num, line in enumerate(f):
139 line = line.strip()
140 if not line: continue
143 metadata.Parse(line)
146 if re.match('[a-z_]', line):
149 if line.startswith('# StopWatch'): # Start of a new dataset
156 dataset = DataSet(line)
159 if line.startswith('#'):
164 (time, value) = line.split(None, 1)
166 print 'skipping line %d: %s' % (num, line)
173 print 'Error parsing line %d' % num, sys.exc_info()[0]