예제 #1
0
 public void Stop()
 {
     this.long_1 = 0L;
     KernelTimeGauge.QueryPerformanceCounter(ref this.long_1);
     this.long_2 = this.long_1 - this.long_0;
 }
예제 #2
0
 public KernelTimeGauge()
 {
     //System.ComponentModel.LicenseManager.Validate(typeof(KernelTimeGauge));
     //base..ctor();
     KernelTimeGauge.QueryPerformanceFrequency(ref this.long_3);
 }
예제 #3
0
 public void Start()
 {
     this.long_0 = 0L;
     KernelTimeGauge.QueryPerformanceCounter(ref this.long_0);
 }