blob: f4e80845945723679c7cacb91645cb80af221484 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/usr/bin/python
import sys
if len(sys.argv) < 2:
print>>sys.stderr,'Syntax %s <log>' % sys.argv[0]
sys.exit(1)
tests = {}
with open(sys.argv[1]) as f:
while True:
l = f.readline()
if l == '':
break
s = l.split()
if len(s) == 7 and s[6][-3:] == 'mks':
tests[float(s[6][:-3]) / 1000000] = s[3][1:-2]
for x in sorted(tests):
print x,tests[x]
|