Lines Matching refs:words
130 def find_took(words): argument
131 for i in range(len(words)):
132 if words[i] == 'took' or words[i] == "took:":
142 words = line.strip().split(' ')
143 i = find_took(words)
146 key = str1.join(words[8:i])
148 if words[i+1] == 'to' and words[i+2] == 'complete:':
150 val = float(words[i+3][:-2]);
151 elif words[i+1][-2:] == 'ms':
153 val = float(words[i+1][:-2]);
154 elif len(words) > i+2:
156 if words[i+2] == 'seconds':
157 val = float(words[i+1])*1000;
158 elif words[i+2] == 'ms':
159 val = float(words[i+1])