Skip to Content.
Sympa Menu

ndt-dev - [ndt-dev] [ndt] r389 committed - Fixed 1/8 bug in calculation of c2sspd.

Subject: NDT-DEV email list created

List archive

[ndt-dev] [ndt] r389 committed - Fixed 1/8 bug in calculation of c2sspd.


Chronological Thread 
  • From:
  • To:
  • Subject: [ndt-dev] [ndt] r389 committed - Fixed 1/8 bug in calculation of c2sspd.
  • Date: Mon, 02 May 2011 16:05:43 +0000

Revision: 389
Author:

Date: Mon May 2 09:05:05 2011
Log: Fixed 1/8 bug in calculation of c2sspd.
http://code.google.com/p/ndt/source/detail?r=389

Modified:
/trunk/Applet/Tcpbw100.java

=======================================
--- /trunk/Applet/Tcpbw100.java Fri Mar 18 07:44:13 2011
+++ /trunk/Applet/Tcpbw100.java Mon May 2 09:05:05 2011
@@ -1214,8 +1214,8 @@
if (t == 0) {
t = 1;
}
- System.out.println((8.0 * pkts * lth) / t + " kb/s outbound");
- c2sspd = ((8.0 * pkts * lth) / 1000) / t;
+ System.out.println((8.0 * pkts * buff2.length) / t + " kb/s outbound");
+ c2sspd = ((8.0 * pkts * buff2.length) / 1000) / t;
/* receive the c2sspd from the server */
if (ctl.recv_msg(msg) != 0) {
errmsg = messages.getString("protocolError") + Integer.parseInt(new String(msg.body), 16) + " instead\n";


  • [ndt-dev] [ndt] r389 committed - Fixed 1/8 bug in calculation of c2sspd., ndt, 05/02/2011

Archive powered by MHonArc 2.6.16.

Top of Page