示例#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);
 }