Пример #1
0
 /** Resets the counters and timers. */
 public void resetCounters() {
   queryNum = 0;
   resultNum = 0;
   timer.reset();
 }
Пример #2
0
 /**
  * Returns the query time.
  *
  * @return query time
  */
 public long getQueryTime() {
   return timer.get();
 }