Update the README and generalize bench/nps parsing

This commit is contained in:
AndyGrant committed 2019-10-25 07:15:15 -04:00
1 parent 1eb2dce5d5
commit e1e14be818
2 files changed
+52 -51

No files matched your search

+2 -2
View File
@@ -224,8 +224,8 @@ def singleCoreBench(name, outqueue):
data = data.decode('ascii').strip().split('\n')
# Parse and dump results into queue
bench = int(data[-2].split(':')[1])
nps = int(data[-1].split(':')[1])
bench = int(data[-2].split()[-1])
nps = int(data[-1].split()[-1])
outqueue.put((bench, nps))
# Bad compile or bad output, force an error