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