3 writes to UnseenWeight
Microsoft.Extensions.Telemetry (3)
Sampling\BottomKSampler.cs (3)
112
UnseenWeight
= 1.0;
259
UnseenWeight
= 1.0;
263
UnseenWeight
= ComputeUnseenWeight();
4 references to UnseenWeight
Microsoft.Extensions.Telemetry (2)
Sampling\BottomKSampler.cs (2)
146
double wC = WeightFor(_freqPrev, callsite,
UnseenWeight
);
217
double wC = WeightFor(_freqPrev, entry.Callsite,
UnseenWeight
);
Microsoft.Extensions.Telemetry.Tests (2)
Sampling\BottomKSamplerTests.cs (2)
73
Assert.Equal(1.0, sampler.
UnseenWeight
);
108
Assert.Equal(0.25, sampler.
UnseenWeight
, 12);