added a file to interpret the interp.shelve file

This commit is contained in:
Stephen McQuay 2011-05-26 21:36:35 -06:00
parent 5bb994cfad
commit e2d22e0778

12
gmsh/scale.py Normal file
View File

@ -0,0 +1,12 @@
import sys
import shelve
s = shelve.open(sys.argv[1])
print s
# {'count': 10000, 'tasks': defaultdict(<type 'int'>, {'m5-2-1.local-31671': 10000}), 'extra': 256, 'receive': 1148.0290439128876, 'submit': 4.298105001449585, 'participants': 1, 'order': 5}
for k in sorted(s):
run = s[k]['stats']
print run['tasks']
print run['participants'], run['receive'] / run['count']