示例#1
0
        public void Dispose()
        {
            bool flag = this.handle == 0uL;

            if (!flag)
            {
                ProfilerRecorder.Control(this, ProfilerRecorder.ControlOptions.Release);
                this.handle = 0uL;
            }
        }
示例#2
0
 public void Reset()
 {
     this.CheckInitializedAndThrow();
     ProfilerRecorder.Control(this, ProfilerRecorder.ControlOptions.Reset);
 }
示例#3
0
 public void Stop()
 {
     this.CheckInitializedAndThrow();
     ProfilerRecorder.Control(this, ProfilerRecorder.ControlOptions.Stop);
 }