Skip to Content.
Sympa Menu

ndt-dev - [ndt-dev] [ndt] r1203 committed - Merge Issue171 branch into trunk

Subject: NDT-DEV email list created

List archive

[ndt-dev] [ndt] r1203 committed - Merge Issue171 branch into trunk


Chronological Thread 
  • From:
  • To:
  • Subject: [ndt-dev] [ndt] r1203 committed - Merge Issue171 branch into trunk
  • Date: Fri, 13 Mar 2015 13:56:57 +0000

Revision: 1203
Author:

Date: Fri Mar 13 13:56:39 2015 UTC
Log: Merge Issue171 branch into trunk
https://code.google.com/p/ndt/source/detail?r=1203

Modified:
/trunk
/trunk/HTML5-frontend/script.js

=======================================
--- /trunk/HTML5-frontend/script.js Wed Mar 11 13:17:14 2015 UTC
+++ /trunk/HTML5-frontend/script.js Fri Mar 13 13:56:39 2015 UTC
@@ -151,7 +151,7 @@
if (isNaN(rtt)) {
document.getElementById("rttValue").innerHTML = "n/a";
} else {
- document.getElementById("rttValue").innerHTML = rtt.toFixed(2).concat(" ms");
+ document.getElementById("rttValue").innerHTML = Math.round(rtt) + " ms";
}

if (!isNaN(pcBuffSpdLimit)) {
@@ -198,7 +198,7 @@

document.getElementById('upload-speed').innerHTML = uploadSpeed().toPrecision(2);
document.getElementById('download-speed').innerHTML = downloadSpeed().toPrecision(2);
- document.getElementById('latency').innerHTML = averageRoundTrip().toPrecision(2);
+ document.getElementById('latency').innerHTML = Math.round(averageRoundTrip());
document.getElementById('jitter').innerHTML = jitter().toPrecision(2);
document.getElementById("test-details").innerHTML = testDetails();
document.getElementById("test-advanced").appendChild(testDiagnosis());
@@ -428,7 +428,7 @@

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 += "Round trip time: " + a.getNDTvar("MinRTT").bold() + " msec (minimum), " + a.getNDTvar("MaxRTT").bold() + " msec (maximum), " + a.getNDTvar("avgrtt").bold() + " msec (average)<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>";
d += "TCP time-out counter: " + a.getNDTvar("CurRTO").bold() + "<br>";


  • [ndt-dev] [ndt] r1203 committed - Merge Issue171 branch into trunk, ndt, 03/13/2015

Archive powered by MHonArc 2.6.16.

Top of Page