1 write to _state
Microsoft.ML.FastTree (1)
Utils\Timer.cs (1)
203Interlocked.CompareExchange(ref _state, new TimerState(), null);
11 references to _state
Microsoft.ML.FastTree (11)
Utils\Timer.cs (11)
177double count = _state.CountTotals[(int)n]; 192return _state.TickTotals == null ? 0 : _state.TickTotals[(int)e]; 197return _state.CountTotals[(int)e]; 202if (_state == null) 214return new TimedEvent(_state.Watch.ElapsedTicks, e); 219Interlocked.Add(ref _state.CountTotals[(int)e], counts); 240Interlocked.Add(ref _state.TickTotals[(int)_event], _state.Watch.ElapsedTicks - _ticksBegin); 241Interlocked.Increment(ref _state.NumCalls[(int)_event]); 254return _state.ToString();