mirror of https://github.com/apache/lucene.git
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:
parent
3e6a40e89e
commit
afb58ca0d2
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue