Commit 84d1dfbc authored by rna's avatar rna Committed by Andreas Schmidt

Log percentiles.

parent bf2573f9
......@@ -70,7 +70,10 @@ class TestResults(object):
delayStd = np.std(delayValues) * 1000
delayMin = np.min(delayValues) * 1000
delayMax = np.max(delayValues) * 1000
delays = "Application Latency [ms]: %f+-%f [%f - %f]" % (delayMean, delayStd, delayMin, delayMax)
delay25 = np.percentile(delayValues, 25) * 1000
delay50 = np.percentile(delayValues, 50) * 1000
delay75 = np.percentile(delayValues, 70) * 1000
delays = "Application Latency [ms]: %f+-%f [%f, %f, %f, %f, %f]" % (delayMean, delayStd, delayMin, delay25, delay50, delay75, delayMax)
losses = "Loss Pattern:\n" + "| " * 9 + "|"
for i,x in np.ndenumerate(self.delays):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment