C# Class BintreesMonoDroid.Stopwatch

Provides a stopwatch to measure elapsed time.
Show file Open project: zanew/MonovsDalvik

Public Methods

Method Description
Stopwatch ( ) : System
read ( ) : double

return the elapsed time (in seconds)

reset ( ) : void
resume ( ) : void

Resume timing, after stopping. (Does not wipe out accumulated times.)

seconds ( ) : double

R eturn system time (in seconds)

start ( ) : void

Start (and reset) timer

stop ( ) : double

Stop timer

Method Details

Stopwatch() public method

public Stopwatch ( ) : System
return System

read() public method

return the elapsed time (in seconds)
public read ( ) : double
return double

reset() public method

public reset ( ) : void
return void

resume() public method

Resume timing, after stopping. (Does not wipe out accumulated times.)
public resume ( ) : void
return void

seconds() public static method

R eturn system time (in seconds)
public static seconds ( ) : double
return double

start() public method

Start (and reset) timer
public start ( ) : void
return void

stop() public method

Stop timer
public stop ( ) : double
return double