added a file to interpret the interp.shelve file
This commit is contained in:
parent
5bb994cfad
commit
e2d22e0778
12
gmsh/scale.py
Normal file
12
gmsh/scale.py
Normal 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']
|
Loading…
Reference in New Issue
Block a user