4 using System.Collections.Generic;
7 using System.Diagnostics;
9 namespace SiliconStudio.Paradox.Games.Time
17 private long startTicks;
24 startTicks = Stopwatch.GetTimestamp();
34 long elapsed = Stopwatch.GetTimestamp() - startTicks;
37 return (
double)elapsed / (Stopwatch.Frequency);
Represent an absolute time measurement stopwatch. (with as few internal overhead as possible) It meas...
void Start()
Start the stopwatch. (use this method also to restart stopwatching)