Xbasic

Util::Timer Class

Description

Precision timer for profiling code.

Properties

ElapsedSecondsNumeric

Numeric ElapsedSeconds property

ElapsedMillisecondsNumeric

Numeric ElapsedMilliseconds property

ElapsedMicrosecondsNumeric

Numeric ElapsedMicroseconds property

Methods

Reset Method

Stop the timer (if it is running) and clear out all values.

Start Method

Reset the start time to the current time.

Stop Method

Stop the timer and save the elapsed time.

See Also