Skip to Content.
Sympa Menu

ndt-dev - Re: [ndt-dev] [ndt] r1024 committed - Changed incorrect number values to constants in getNDTVariable functio...

Subject: NDT-DEV email list created

List archive

Re: [ndt-dev] [ndt] r1024 committed - Changed incorrect number values to constants in getNDTVariable functio...


Chronological Thread 
  • From: Tiziana Refice <>
  • To:
  • Cc: "<>" <>
  • Subject: Re: [ndt-dev] [ndt] r1024 committed - Changed incorrect number values to constants in getNDTVariable functio...
  • Date: Wed, 19 Mar 2014 09:27:44 +0000

LGTM


On Tue, Mar 18, 2014 at 11:10 AM, <> wrote:
Revision: 1024
Author:  
Date:     Tue Mar 18 11:10:40 2014 UTC
Log:      Changed incorrect number values to constants in getNDTVariable function

http://code.google.com/p/ndt/source/detail?r=1024

Modified:
 /branches/Issue131/flash-client/src/TestResultsUtils.as

=======================================
--- /branches/Issue131/flash-client/src/TestResultsUtils.as     Tue Mar 18 11:06:03 2014 UTC
+++ /branches/Issue131/flash-client/src/TestResultsUtils.as     Tue Mar 18 11:10:40 2014 UTC
@@ -75,9 +75,11 @@
         case "TestDuration":
           return TestResults.duration.toString();
         case "ClientToServerSpeed":
-          return (TestResults.ndt_test_results::c2sSpeed / 1000).toString();
+          return (TestResults.ndt_test_results::c2sSpeed
+                  / NDTConstants.KBITS2BITS).toString();
         case "ServerToClientSpeed":
-          return (TestResults.ndt_test_results::s2cSpeed / 1000).toString();
+          return (TestResults.ndt_test_results::s2cSpeed
+                  / NDTConstants.KBITS2BITS).toString();
         case "Jitter":
           return TestResults.jitter.toString();
         case "OperatingSystem":




Archive powered by MHonArc 2.6.16.

Top of Page