# Sandbox.Diagnostics.FastTimer

A lightweight, high-resolution timer for performance measurement.
More efficient than `T:System.Diagnostics.Stopwatch` with a simpler API.

## Examples

var timer = FastTimer.StartNew();
// Do work...
Log.Info( $"Took {timer.ElapsedMilliSeconds}ms" );

- Kind: struct
- Namespace: `Sandbox.Diagnostics`
- Assembly: `Sandbox.System`
- Modifiers: sealed

## Properties

- [`Elapsed`](/api/Sandbox.Diagnostics.FastTimer/Elapsed): Gets the time elapsed since the timer was started as a TimeSpan.
- [`ElapsedMicroSeconds`](/api/Sandbox.Diagnostics.FastTimer/ElapsedMicroSeconds): Gets the number of microseconds elapsed since the timer was started.
- [`ElapsedMilliSeconds`](/api/Sandbox.Diagnostics.FastTimer/ElapsedMilliSeconds): Gets the number of milliseconds elapsed since the timer was started.
- [`ElapsedSeconds`](/api/Sandbox.Diagnostics.FastTimer/ElapsedSeconds): Gets the number of seconds elapsed since the timer was started.
- [`ElapsedTicks`](/api/Sandbox.Diagnostics.FastTimer/ElapsedTicks): Gets the number of ticks elapsed since the timer was started.
- [`StartTick`](/api/Sandbox.Diagnostics.FastTimer/StartTick): Gets the timestamp when the timer was started.

## Methods

- [`Start`](/api/Sandbox.Diagnostics.FastTimer/Start): Starts or restarts the timer.
- [`StartNew`](/api/Sandbox.Diagnostics.FastTimer/StartNew): Creates and starts a new FastTimer.
