net.ontopia.utils
Class TimeMeasureUtils

java.lang.Object
  extended by net.ontopia.utils.TimeMeasureUtils

public class TimeMeasureUtils
extends java.lang.Object

INTERNAL: Helper class for providing some more convenience for time measurement. Based on system clock in milliseconds.


Constructor Summary
TimeMeasureUtils()
           
 
Method Summary
static void endAction(java.lang.String key)
           
static double getTimeInSeconds(java.lang.String key)
           
static void report(java.io.Writer out)
           
static void reset()
           
static void startAction(java.lang.String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeMeasureUtils

public TimeMeasureUtils()
Method Detail

startAction

public static void startAction(java.lang.String key)

endAction

public static void endAction(java.lang.String key)

report

public static void report(java.io.Writer out)
                   throws java.io.IOException
Throws:
java.io.IOException

getTimeInSeconds

public static double getTimeInSeconds(java.lang.String key)

reset

public static void reset()


Copyright © 2000-2012 Ontopia.