committing change for index time count

This commit is contained in:
anupsawant 2011-06-24 17:23:21 +00:00
parent 9b36435061
commit 74644178a4

View file

@ -30,10 +30,10 @@ class IndexWorkerThread extends Thread{
this.indexer = indexer;
this.threadNum = threadNum;
this.distributing = distributing;
synchronized(this){
/*synchronized(this){
if(starttime == 0)
starttime = System.currentTimeMillis();
}
}*/
}
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;
}
}