ndt-dev - [ndt-dev] [ndt] r1040 committed - Speeds are now returned in mb/s from flash client to JS UI
Subject: NDT-DEV email list created
List archive
[ndt-dev] [ndt] r1040 committed - Speeds are now returned in mb/s from flash client to JS UI
Chronological Thread
- From:
- To:
- Subject: [ndt-dev] [ndt] r1040 committed - Speeds are now returned in mb/s from flash client to JS UI
- Date: Wed, 26 Mar 2014 08:38:55 +0000
Revision: 1040
Author:
Date: Wed Mar 26 08:38:44 2014 UTC
Log: Speeds are now returned in mb/s from flash client to JS UI
http://code.google.com/p/ndt/source/detail?r=1040
Modified:
/trunk/HTML5-frontend/widget.html
/trunk/flash-client/src/TestResultsUtils.as
=======================================
--- /trunk/HTML5-frontend/widget.html Fri Mar 21 10:33:50 2014 UTC
+++ /trunk/HTML5-frontend/widget.html Wed Mar 26 08:38:44 2014 UTC
@@ -119,9 +119,9 @@
</div>
<!--Use embed tag to have flash client being background for JS UI or applet tag if you want to use java applet instead. -->
-<embed id="NDT" name="NDT" type="application/x-shockwave-flash" src="FlashClt.swf" width="600" height="400" />
+<applet id="NDT" name="NDT" code="edu.internet2.ndt.Tcpbw100.class" codebase="<?php print $applet_url ?>" archive="Tcpbw100.jar" width="400" height="400"></applet>
-<!--<applet id="NDT" name="NDT" code="edu.internet2.ndt.Tcpbw100.class" codebase="<?php print $applet_url ?>" archive="Tcpbw100.jar" width="400" height="400"></applet>-->
+<!--<embed id="NDT" name="NDT" type="application/x-shockwave-flash" src="FlashClt.swf" width="600" height="400" />-->
</body>
=======================================
--- /trunk/flash-client/src/TestResultsUtils.as Fri Mar 21 10:33:50 2014 UTC
+++ /trunk/flash-client/src/TestResultsUtils.as Wed Mar 26 08:38:44 2014 UTC
@@ -75,9 +75,11 @@
case "TestDuration":
return TestResults.duration.toString();
case "ClientToServerSpeed":
- return TestResults.ndt_test_results::c2sSpeed.toString();
+ return (TestResults.ndt_test_results::c2sSpeed
+ / NDTConstants.KBITS2BITS).toString();
case "ServerToClientSpeed":
- return TestResults.ndt_test_results::s2cSpeed.toString();
+ return (TestResults.ndt_test_results::s2cSpeed
+ / NDTConstants.KBITS2BITS).toString();
case "Jitter":
return TestResults.jitter.toString();
case "OperatingSystem":
- [ndt-dev] [ndt] r1040 committed - Speeds are now returned in mb/s from flash client to JS UI, ndt, 03/26/2014
Archive powered by MHonArc 2.6.16.