Skip to content

Commit

Permalink
add num_list_peers to session_stats parser script
Browse files Browse the repository at this point in the history
git-svn-id: https://libtorrent.svn.sourceforge.net/svnroot/libtorrent/trunk@3452 a83610d8-ad2a-0410-a6ab-fc0612d85776
  • Loading branch information
arvidn committed May 4, 2009
1 parent a3c9a7d commit dc99a0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions parse_session_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

keys = line.strip().split(':')[1:]

axes = ['x1y2', 'x1y2', 'x1y1', 'x1y1', 'x1y1', 'x1y1', 'x1y1', 'x1y1']
axes = ['x1y2', 'x1y2', 'x1y1', 'x1y1', 'x1y1', 'x1y1', 'x1y1', 'x1y1', 'x1y2']

def gen_report(name, lines):
out = open('session_stats_%s.gnuplot' % name, 'wb')
Expand All @@ -41,6 +41,6 @@ def gen_report(name, lines):
os.system('gnuplot session_stats_%s.gnuplot' % name);

gen_report('rates', ['upload rate', 'download rate', 'downloading torrents', 'seeding torrents', 'peers', 'unchoked peers'])
gen_report('peers', ['peers', 'connecting peers', 'unchoked peers'])
gen_report('peers', ['peers', 'connecting peers', 'unchoked peers', 'num list peers'])
gen_report('buffers', ['upload rate', 'download rate', 'disk block buffers'])

0 comments on commit dc99a0d

Please sign in to comment.