|
@@ -646,23 +646,22 @@ class Statistics:
|
|
|
if(local_conv):
|
|
|
for conv in local_conv:
|
|
|
avg_delay_local += conv[2]
|
|
|
- avg_delay_local = avg_delay_local/len(local_conv)
|
|
|
+ avg_delay_local = (avg_delay_local/len(local_conv)) * 0.001 #ms
|
|
|
else:
|
|
|
# no local conversations in statistics found
|
|
|
- avg_delay_local = 120.0
|
|
|
+ avg_delay_local = 0.06
|
|
|
|
|
|
if(external_conv):
|
|
|
for conv in external_conv:
|
|
|
avg_delay_external += conv[2]
|
|
|
- avg_delay_external = avg_delay_external/len(external_conv)
|
|
|
+ avg_delay_external = (avg_delay_external/len(external_conv)) * 0.001 #ms
|
|
|
else:
|
|
|
# no external conversations in statistics found
|
|
|
- avg_delay_external = 8000.0
|
|
|
+ avg_delay_external = 0.15
|
|
|
else:
|
|
|
#if no statistics were found, use these numbers
|
|
|
- avg_delay_external = 8000.0
|
|
|
- avg_delay_local = 120.0
|
|
|
-
|
|
|
+ avg_delay_external = 0.15
|
|
|
+ avg_delay_local = 0.06
|
|
|
return avg_delay_local, avg_delay_external
|
|
|
|
|
|
def filter_multiples(self, entries):
|