committing change for index time count
This commit is contained in:
parent
9b36435061
commit
74644178a4
1 changed files with 10 additions and 2 deletions
|
@ -30,10 +30,10 @@ class IndexWorkerThread extends Thread{
|
||||||
this.indexer = indexer;
|
this.indexer = indexer;
|
||||||
this.threadNum = threadNum;
|
this.threadNum = threadNum;
|
||||||
this.distributing = distributing;
|
this.distributing = distributing;
|
||||||
synchronized(this){
|
/*synchronized(this){
|
||||||
if(starttime == 0)
|
if(starttime == 0)
|
||||||
starttime = System.currentTimeMillis();
|
starttime = System.currentTimeMillis();
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
|
|
||||||
public void addToQueue(Individual ind){
|
public void addToQueue(Individual ind){
|
||||||
|
@ -97,4 +97,12 @@ class IndexWorkerThread extends Thread{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static void resetCount(){
|
||||||
|
count = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void setStartTime(long startTime){
|
||||||
|
starttime = startTime;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue