HPSearch

cgl.hpsearch.util.timing
Class HiResTimer

java.lang.Object
  extended bycgl.hpsearch.util.timing.HiResTimer

public class HiResTimer
extends Object

Contains methods for getting High resolution timing.
Leverages NaradaBrokering's High resolution timing library code

Author:
Harshawardhan Gadgil (hgadgil@grids.ucs.indiana.edu)
Created: Nov 2, 2005

Constructor Summary
HiResTimer()
           
 
Method Summary
 long getDuration()
          Returns Duration in microseconds
 void reset()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HiResTimer

public HiResTimer()
Method Detail

start

public void start()

stop

public void stop()

reset

public void reset()

getDuration

public long getDuration()
Returns Duration in microseconds

Returns:
Difference between stop and start

HPSearch

For comments and suggestions please send e-mail to Harshawardhan Gadgil
Last updated: June 9 2006