public void Pause() { DllImports.QueryPerformanceCounter(out stopTime); duration += stopTime - startTime; }
public void Continue() { DllImports.QueryPerformanceCounter(out startTime); }
public void Start() { DllImports.QueryPerformanceCounter(out startTime); duration = 0; }