perfsonar-dev - perfsonar: r4677 - branches/perfsonarui/src/org/perfsonar/perfsonarui/bwctl
Subject: perfsonar development work
List archive
- From:
- To:
- Subject: perfsonar: r4677 - branches/perfsonarui/src/org/perfsonar/perfsonarui/bwctl
- Date: Thu, 30 Oct 2008 10:01:30 -0400
Author: nemanja.zutic
Date: 2008-10-30 10:01:29 -0400 (Thu, 30 Oct 2008)
New Revision: 4677
Modified:
branches/perfsonarui/src/org/perfsonar/perfsonarui/bwctl/BWCTLMainComponent.java
branches/perfsonarui/src/org/perfsonar/perfsonarui/bwctl/BWCTLRequest.java
branches/perfsonarui/src/org/perfsonar/perfsonarui/bwctl/RTTRequest.java
Log:
changed estimated RTT from (s) to (ms)
Modified:
branches/perfsonarui/src/org/perfsonar/perfsonarui/bwctl/BWCTLMainComponent.java
===================================================================
---
branches/perfsonarui/src/org/perfsonar/perfsonarui/bwctl/BWCTLMainComponent.java
2008-10-27 17:28:25 UTC (rev 4676)
+++
branches/perfsonarui/src/org/perfsonar/perfsonarui/bwctl/BWCTLMainComponent.java
2008-10-30 14:01:29 UTC (rev 4677)
@@ -232,7 +232,7 @@
"by clicking 'Estimate RTT' command");
add(userRTT, constraints);
- userRTTLabel = new JLabel("RTT (s)");
+ userRTTLabel = new JLabel("RTT (ms)");
constraints.gridx -= 1;
userRTTLabel.setLabelFor(userRTT);
add(userRTTLabel, constraints);
Modified:
branches/perfsonarui/src/org/perfsonar/perfsonarui/bwctl/BWCTLRequest.java
===================================================================
---
branches/perfsonarui/src/org/perfsonar/perfsonarui/bwctl/BWCTLRequest.java
2008-10-27 17:28:25 UTC (rev 4676)
+++
branches/perfsonarui/src/org/perfsonar/perfsonarui/bwctl/BWCTLRequest.java
2008-10-30 14:01:29 UTC (rev 4677)
@@ -266,6 +266,7 @@
output+="\nRTT or window size is not
a valid number";
}
window*=8;
+ rtt/=1000;
if(rtt!=0.0) maxBW = window/rtt;
Long maxBWLong = new Long(maxBW.longValue());
if (maxBWLong!=0) output+="\nExpected maximum
BW (based on window size and RTT) is:\n" + maxBWLong + " bits/sec";
Modified:
branches/perfsonarui/src/org/perfsonar/perfsonarui/bwctl/RTTRequest.java
===================================================================
--- branches/perfsonarui/src/org/perfsonar/perfsonarui/bwctl/RTTRequest.java
2008-10-27 17:28:25 UTC (rev 4676)
+++ branches/perfsonarui/src/org/perfsonar/perfsonarui/bwctl/RTTRequest.java
2008-10-30 14:01:29 UTC (rev 4677)
@@ -317,6 +317,7 @@
String mes = datum.getAttribute("med_delay");
if(!mes.equals("")){
last_med_delay=Double.parseDouble(mes);
+ last_med_delay*=1000;
}
delays.add(last_med_delay);
}
- perfsonar: r4677 - branches/perfsonarui/src/org/perfsonar/perfsonarui/bwctl, svnlog, 10/30/2008
Archive powered by MHonArc 2.6.16.