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