when reinit() is called, reset the start time (used only when printing # docs indexed)

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@617991 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2008-02-03 14:24:30 +00:00
parent 3e6a40e89e
commit afb58ca0d2
1 changed files with 3 additions and 0 deletions

View File

@ -137,6 +137,9 @@ public class PerfRunData {
// release unused stuff // release unused stuff
System.runFinalization(); System.runFinalization();
System.gc(); System.gc();
// Re-init clock
setStartTimeMillis();
} }
public long setStartTimeMillis() { public long setStartTimeMillis() {