SWT LPEX
v3.0.5

com.ibm.lpex.core
Class LpexTime

java.lang.Object
  extended bycom.ibm.lpex.core.LpexTime

public final class LpexTime
extends Object

This class facilitates code-performance measurements. Timings in milliseconds between recorded events will be printed to the standard output stream.


Method Summary
static void recordEvent(String event)
          Record an event.
static void reset()
          Clear the previously-recorded event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

recordEvent

public static void recordEvent(String event)
Record an event. The time elapsed since the previously-recorded event, if any, is printed to the standard output stream.


reset

public static void reset()
Clear the previously-recorded event.


SWT LPEX
v3.0.5

(C) Copyright IBM Corporation 1998, 2005.  All Rights Reserved.