org.e2etrace.timer
Interface ITimer

All Known Implementing Classes:
DefaultTimer, ExactTimer

public interface ITimer

Timers are able to measure the duration between start() and measure in ms.


Method Summary
 long measure()
          Returns the duration in ms since start().
 void start()
          Starts the timer.
 

Method Detail

start

void start()
Starts the timer.


measure

long measure()
Returns the duration in ms since start().

Returns:
duration in ms


Copyright © 2013 Gunther Popp. All Rights Reserved.