1 write to _checkpointTracker
Microsoft.Extensions.Telemetry (1)
Latency\Internal\LatencyContext.cs (1)
30_checkpointTracker = latencyInstrumentProvider.CreateCheckpointTracker();
6 references to _checkpointTracker
Microsoft.Extensions.Telemetry (6)
Latency\Internal\LatencyContext.cs (6)
37public LatencyData LatencyData => IsDisposed ? default : new(_tagCollection.Tags, _checkpointTracker.Checkpoints, _measureTracker.Measures, Duration, _checkpointTracker.Frequency); 39private long Duration => IsRunning ? _checkpointTracker.Elapsed : _duration; 46_checkpointTracker.Add(token); 85_duration = _checkpointTracker.Elapsed; 107_ = _checkpointTracker.TryReset();