public void endFilterInterval(){
  endMillis=System.currentTimeMillis();
  totalFilterMillis+=(endMillis - intervalStartMillis);
  state=TaskState.other;
}

public void endFilterInterval ( ) { endMillis = System . currentTimeMillis ( ) ; totalFilterMillis += ( endMillis - intervalStartMillis ) ; state = TaskState . other ; }
add time for a filter operation interval .
