lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r617991 - /lucene/java/trunk/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/PerfRunData.java
Date Sun, 03 Feb 2008 14:24:32 GMT
Author: mikemccand
Date: Sun Feb  3 06:24:30 2008
New Revision: 617991

URL: http://svn.apache.org/viewvc?rev=617991&view=rev
Log:
when reinit() is called, reset the start time (used only when printing # docs indexed)

Modified:
    lucene/java/trunk/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/PerfRunData.java

Modified: lucene/java/trunk/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/PerfRunData.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/PerfRunData.java?rev=617991&r1=617990&r2=617991&view=diff
==============================================================================
--- lucene/java/trunk/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/PerfRunData.java
(original)
+++ lucene/java/trunk/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/PerfRunData.java
Sun Feb  3 06:24:30 2008
@@ -137,6 +137,9 @@
     // release unused stuff
     System.runFinalization();
     System.gc();
+
+    // Re-init clock
+    setStartTimeMillis();
   }
   
   public long setStartTimeMillis() {



Mime
View raw message