Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.encog.util
Class Stopwatch

    java.lang.Object
      org.encog.util.Stopwatch

    public class Stopwatch

extends Object

A stopwatch, meant to emulate the C# Stopwatch class.

Constructor Summary
`Stopwatch()` Construct a stopwatch.

Method Summary
`long` | `getElapsedMilliseconds()`
`long` | `getElapsedTicks()`
`void` | `reset()` Reset the stop watch.
`void` | `start()` Start the stop watch.
`void` | `stop()` Stop the stopwatch.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Stopwatch

    public Stopwatch()

  Construct a stopwatch.

Method Detail

### getElapsedMilliseconds

    public long getElapsedMilliseconds()

  Returns:
    Elapsed time in milli's.

### getElapsedTicks

    public long getElapsedTicks()

  Returns:
    Elapsed time in ticks.

### reset

    public void reset()

  Reset the stop watch.

### start

    public void start()

  Start the stop watch.

### stop

    public void stop()

  Stop the stopwatch.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2011. All Rights Reserved.