projects
/
bluesky.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Optimize complete overwrites of file system blocks
[bluesky.git]
/
parsetrace
/
delay-graph.py
1
#!/usr/bin/python
2
3
import json, sys
4
5
times = []
6
7
for f in sys.argv[1:]:
8
stats = json.load(open(f))
9
for s in stats:
10
if 'interpacket_times' in s:
11
times += [(x[0], f, x[2:]) for x in s['interpacket_times']
12
if x[0] > 0.005]
13
14
for t in times:
15
print "%f\t%s\t%s" % (t[0], t[1], ','.join(t[2]))