merged changes from RC_1_0
This commit is contained in:
@@ -34,8 +34,8 @@ searches = []
|
||||
|
||||
def convert_timestamp(t):
|
||||
parts = t.split('.')
|
||||
posix = time.strptime(parts[0], '%H:%M:%S')
|
||||
return (posix.tm_hour * 3600 + posix.tm_min * 60 + posix.tm_sec) * 1000 + int(parts[1])
|
||||
hms = parts[0].split(':')
|
||||
return (int(hms[0]) * 3600 + int(hms[1]) * 60 + int(hms[2])) * 1000 + int(parts[1])
|
||||
|
||||
last_incoming = ''
|
||||
|
||||
|
@@ -42,7 +42,7 @@ replot
|
||||
out.close()
|
||||
gnuplot_scripts += [name]
|
||||
|
||||
gen_stats_gnuplot('dht_routing_table_size', 'nodes', ['active nodes','passive nodes'])
|
||||
gen_stats_gnuplot('dht_routing_table_size', 'nodes', ['active nodes','passive nodes', 'confirmed nodes'])
|
||||
gen_stats_gnuplot('dht_tracker_table_size', '', ['num torrents', 'num peers'])
|
||||
gen_stats_gnuplot('dht_announces', 'messages per minute', ['announces per min', 'failed announces per min'])
|
||||
gen_stats_gnuplot('dht_clients', 'messages per minute', ['total msgs per min', 'az msgs per min', 'ut msgs per min', 'lt msgs per min', 'mp msgs per min', 'gr msgs per min'])
|
||||
|
Reference in New Issue
Block a user