LPEX
4.4.0

com.ibm.lpex.core
Class LpexTime

java.lang.Object
  extended by com.ibm.lpex.core.LpexTime

public final class LpexTime
extends Object

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


Method Summary
static void recordEvent(String event)
          Records an event.
static void reset()
          Clears 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)
Records an event. The time elapsed since the previously-recorded event, if any, is printed to the standard output stream.

Parameters:
event - any text identifying the event recorded

reset

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


LPEX
4.4.0

Copyright � 2016 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.