ndt-dev - [ndt-dev] [ndt] r1204 committed - Merge Issue170 branch into trunk
Subject: NDT-DEV email list created
List archive
- From:
- To:
- Subject: [ndt-dev] [ndt] r1204 committed - Merge Issue170 branch into trunk
- Date: Fri, 13 Mar 2015 14:05:22 +0000
Revision: 1204
Author:
Date: Fri Mar 13 14:05:08 2015 UTC
Log: Merge Issue170 branch into trunk
https://code.google.com/p/ndt/source/detail?r=1204
Modified:
/trunk
/trunk/HTML5-frontend/script.js
=======================================
--- /trunk/HTML5-frontend/script.js Fri Mar 13 13:56:39 2015 UTC
+++ /trunk/HTML5-frontend/script.js Fri Mar 13 14:05:08 2015 UTC
@@ -414,6 +414,11 @@
if (simulate) return 0;
return parseFloat(testNDT().get_PcBuffSpdLimit());
}
+
+function printPacketLoss() {
+ var packetLoss = parseFloat(testNDT().getNDTvar("loss"));
+ return packetLoss.toFixed(4);
+}
function testDetails() {
if (simulate) return 'Test details';
@@ -421,13 +426,15 @@
var a = testNDT();
var d = '';
+d += "error: " + testError();
+
d += "Your system: " + a.getNDTvar("OperatingSystem").bold() + "<br>";
d += "Plugin version: " + (a.getNDTvar("PluginVersion") + " (" + a.getNDTvar("OsArchitecture") + ")<br>").bold();
d += "<br>";
d += "TCP receive window: " + a.getNDTvar("CurRwinRcvd").bold() + " current, " + a.getNDTvar("MaxRwinRcvd").bold() + " maximum<br>";
- d += a.getNDTvar("loss").bold() + " packets lost during test<br>";
+ d += "<b>" + printPacketLoss() + "</b> % of packets lost during test<br>";
d += "Round trip time: " + a.getNDTvar("MinRTT").bold() + " msec (minimum), " + a.getNDTvar("MaxRTT").bold() + " msec (maximum), <b>" + Math.round(averageRoundTrip()) + "</b> msec (average)<br>";
d += "Jitter: " + a.getNDTvar("Jitter").bold() + " msec<br>";
d += a.getNDTvar("waitsec").bold() + " seconds spend waiting following a timeout<br>";
- [ndt-dev] [ndt] r1204 committed - Merge Issue170 branch into trunk, ndt, 03/13/2015
Archive powered by MHonArc 2.6.16.