antelder 2002/12/09 08:43:21
Modified: java/test/performance Monitor.java
Log:
Fix bug to allow monitor timings with a single iteration
Revision Changes Path
1.6 +1 -1 xml-axis-wsif/java/test/performance/Monitor.java
Index: Monitor.java
===================================================================
RCS file: /home/cvs/xml-axis-wsif/java/test/performance/Monitor.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- Monitor.java 7 Dec 2002 12:34:02 -0000 1.5
+++ Monitor.java 9 Dec 2002 16:43:21 -0000 1.6
@@ -201,7 +201,7 @@
} else {
interval += thisInterval;
totalTime += thisInterval;
- if ( minimumInterval > 0 && interval < minimumInterval ) {
+ if ( startCount > 1 && minimumInterval > 0 && interval < minimumInterval
) {
minimumInterval = interval;
errorInterval = minimumInterval + CLOCK_ACCURACY;
startCount = 0;