12 instantiations of BottomKSampler
Microsoft.Extensions.Telemetry (1)
Sampling\BottomKLogBuffer.cs (1)
435=> new(
Microsoft.Extensions.Telemetry.Tests (11)
Sampling\BottomKSamplerTests.cs (11)
68var sampler = new BottomKSampler<int, int>(1); 81var sampler = new BottomKSampler<int, int>(1); 89var sampler = new BottomKSampler<int, int>(1, 0, 0, BottomKUnseenWeightMode.RarestSeen, 42); 102var sampler = new BottomKSampler<int, int>(4, 0, 0, BottomKUnseenWeightMode.Chao1, 42); 115var sampler = new BottomKSampler<int, int>(1, 0, 0, BottomKUnseenWeightMode.RarestSeen, Seed); 135var sampler = new BottomKSampler<int, int>(4, 0, 0, BottomKUnseenWeightMode.RarestSeen, 42); 160var sampler = new BottomKSampler<int, int>(capacity, 0, 0, BottomKUnseenWeightMode.RarestSeen, seed); 189var sampler = new BottomKSampler<int, int>(32, 0, 0, BottomKUnseenWeightMode.RarestSeen, seed); 212var sampler = new BottomKSampler<int, int>( 240var sampler = new BottomKSampler<int, int>( 261var sampler = new BottomKSampler<int, int>(
18 references to BottomKSampler
Microsoft.Extensions.Telemetry (5)
Sampling\BottomKLogBuffer.cs (2)
300private BottomKSampler<int, SerializedLogRecord>? _reservoir; 434public BottomKSampler<int, SerializedLogRecord> CreateReservoir()
Sampling\BottomKSampler.cs (3)
53/// Initializes a new instance of the <see cref="BottomKSampler{TCallsite, TPayload}"/> class using the 64/// Initializes a new instance of the <see cref="BottomKSampler{TCallsite, TPayload}"/> class using 79/// Initializes a new instance of the <see cref="BottomKSampler{TCallsite, TPayload}"/> class with explicit
Microsoft.Extensions.Telemetry.Tests (13)
Sampling\BottomKSamplerTests.cs (13)
68var sampler = new BottomKSampler<int, int>(1); 81var sampler = new BottomKSampler<int, int>(1); 89var sampler = new BottomKSampler<int, int>(1, 0, 0, BottomKUnseenWeightMode.RarestSeen, 42); 102var sampler = new BottomKSampler<int, int>(4, 0, 0, BottomKUnseenWeightMode.Chao1, 42); 115var sampler = new BottomKSampler<int, int>(1, 0, 0, BottomKUnseenWeightMode.RarestSeen, Seed); 135var sampler = new BottomKSampler<int, int>(4, 0, 0, BottomKUnseenWeightMode.RarestSeen, 42); 160var sampler = new BottomKSampler<int, int>(capacity, 0, 0, BottomKUnseenWeightMode.RarestSeen, seed); 189var sampler = new BottomKSampler<int, int>(32, 0, 0, BottomKUnseenWeightMode.RarestSeen, seed); 212var sampler = new BottomKSampler<int, int>( 240var sampler = new BottomKSampler<int, int>( 261var sampler = new BottomKSampler<int, int>( 277private static void AddPeriod(BottomKSampler<int, int> sampler, int[] arrivals) 288private static void Add(BottomKSampler<int, int> sampler, int callsite, int payload)