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

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