internal void Stop() { if (!Active) return; TotalTime += PerfTime.Now - StartTime; Active = false; }
internal void Flush() { if (Active) { PerfTime now = PerfTime.Now; TotalTime += (now - StartTime); StartTime = now; } }