示例#1
0
        public void Dispose()
        {
            if (_timer == null)
            {
                return;
            }

            var end = _timer.EndRecording();

            _timer.Record(end - _start, TimeUnit.Nanoseconds, _userValue);
            _timer = null;
        }