ndt-dev - [ndt-dev] [ndt] r385 committed - Implemented initial get_SmoothRTT() API function.
Subject: NDT-DEV email list created
List archive
[ndt-dev] [ndt] r385 committed - Implemented initial get_SmoothRTT() API function.
Chronological Thread
- From:
- To:
- Subject: [ndt-dev] [ndt] r385 committed - Implemented initial get_SmoothRTT() API function.
- Date: Thu, 13 Jan 2011 21:53:43 +0000
Revision: 385
Author:
Date: Thu Jan 13 13:44:50 2011
Log: Implemented initial get_SmoothRTT() API function.
http://code.google.com/p/ndt/source/detail?r=385
Modified:
/branches/jking/Applet/Tcpbw100.java
/branches/jking/java/net/measurementlab/ndt/NdtTests.java
=======================================
--- /branches/jking/Applet/Tcpbw100.java Wed Jan 12 13:28:47 2011
+++ /branches/jking/Applet/Tcpbw100.java Thu Jan 13 13:44:50 2011
@@ -149,6 +149,7 @@
private int pub_MinRTO = 0; // source variable does not exist
private int pub_MaxRTO = 0; // source variable does not exist
private int pub_CurRTO = 0;
+ private int pub_SmoothedRTT = 0;
// private String pub_CWNDpeaks = ""; // source variable does not exist
private int pub_SACKsRcvd = 0;
private String pub_osVer = "unknown";
@@ -211,6 +212,11 @@
return Integer.toString(pub_MaxRTT);
}
+ public String get_SmoothedRTT()
+ {
+ return Integer.toString(pub_SmoothedRTT);
+ }
+
public String get_loss()
{
return Double.toString(pub_loss);
=======================================
--- /branches/jking/java/net/measurementlab/ndt/NdtTests.java Wed Jan 12 13:28:59 2011
+++ /branches/jking/java/net/measurementlab/ndt/NdtTests.java Thu Jan 13 13:44:50 2011
@@ -1838,8 +1838,10 @@
FastRetran = sysval;
else if(sysvar.equals("AckPktsOut:"))
AckPktsOut = sysval;
- else if(sysvar.equals("SmoothedRTT:"))
+ else if(sysvar.equals("SmoothedRTT:")) {
SmoothedRTT = sysval;
+ uiServices.setVariable("pub_SmoothedRTT",
SmoothedRTT);
+ }
else if(sysvar.equals("CurCwnd:"))
CurrentCwnd = sysval;
else if(sysvar.equals("MaxCwnd:"))
- [ndt-dev] [ndt] r385 committed - Implemented initial get_SmoothRTT() API function., ndt, 01/13/2011
Archive powered by MHonArc 2.6.16.