Packages

trait Stopwatch extends AnyRef

A stopwatch may be used to measure elapsed time.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Stopwatch
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type Elapsed = () => Duration

Abstract Value Members

  1. abstract def start(): Elapsed

    Start the stopwatch.

    Start the stopwatch. The returned timer may be read any time, returning the duration of time elapsed since start.