API ReferenceSandbox.Diagnostics
FastTimerclass
A lightweight, high-resolution timer for performance measurement. More efficient than `System.Diagnostics.Stopwatch` with a simpler API.
object→FastTimer
Methods2
Showing 2 methods
public void Start()
Starts or restarts the timer.
Returns:
void—No results match this filter.
Properties6
Showing 6 properties
public System.TimeSpan Sandbox.Diagnostics.FastTimer.Elapsed { get; set; }
Gets the time elapsed since the timer was started as a TimeSpan.
Returns:
TimeSpan—public double Sandbox.Diagnostics.FastTimer.ElapsedMicroSeconds { get; set; }
Gets the number of microseconds elapsed since the timer was started.
Returns:
double—public double Sandbox.Diagnostics.FastTimer.ElapsedMilliSeconds { get; set; }
Gets the number of milliseconds elapsed since the timer was started.
Returns:
double—public double Sandbox.Diagnostics.FastTimer.ElapsedSeconds { get; set; }
Gets the number of seconds elapsed since the timer was started.
Returns:
double—public long Sandbox.Diagnostics.FastTimer.ElapsedTicks { get; set; }
Gets the number of ticks elapsed since the timer was started.
Returns:
long—public long Sandbox.Diagnostics.FastTimer.StartTick { get; set; }
Gets the timestamp when the timer was started.
Returns:
long—No results match this filter.