org.objectweb.proactive.ext.locationserver.util
Class MicroTimer

java.lang.Object
  |
  +--org.objectweb.proactive.ext.locationserver.util.MicroTimer

public class MicroTimer
extends java.lang.Object


Constructor Summary
MicroTimer()
           
 
Method Summary
 long[] currentTime()
           
 long getCumulatedTime()
          Return the newly computed cumulated time as measured by this MicroTimer in microseconds
static void main(java.lang.String[] args)
           
 void start()
           
 void stop()
          Stop the timer and returns the cumulated time
protected  long[] updateCumulatedTime(long[] t1, long[] t2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MicroTimer

public MicroTimer()
Method Detail

currentTime

public long[] currentTime()

start

public void start()

stop

public void stop()
Stop the timer and returns the cumulated time


getCumulatedTime

public long getCumulatedTime()
Return the newly computed cumulated time as measured by this MicroTimer in microseconds


updateCumulatedTime

protected long[] updateCumulatedTime(long[] t1,
                                     long[] t2)

main

public static void main(java.lang.String[] args)


Copyright © April 2004 INRIA All Rights Reserved.