12 instantiations of BottomKSampler
Microsoft.Extensions.Telemetry (1)
Sampling\BottomKLogBuffer.cs (1)
435
=>
new
(
Microsoft.Extensions.Telemetry.Tests (11)
Sampling\BottomKSamplerTests.cs (11)
68
var sampler = new
BottomKSampler
<int, int>(1);
81
var sampler = new
BottomKSampler
<int, int>(1);
89
var sampler = new
BottomKSampler
<int, int>(1, 0, 0, BottomKUnseenWeightMode.RarestSeen, 42);
102
var sampler = new
BottomKSampler
<int, int>(4, 0, 0, BottomKUnseenWeightMode.Chao1, 42);
115
var sampler = new
BottomKSampler
<int, int>(1, 0, 0, BottomKUnseenWeightMode.RarestSeen, Seed);
135
var sampler = new
BottomKSampler
<int, int>(4, 0, 0, BottomKUnseenWeightMode.RarestSeen, 42);
160
var sampler = new
BottomKSampler
<int, int>(capacity, 0, 0, BottomKUnseenWeightMode.RarestSeen, seed);
189
var sampler = new
BottomKSampler
<int, int>(32, 0, 0, BottomKUnseenWeightMode.RarestSeen, seed);
212
var sampler = new
BottomKSampler
<int, int>(
240
var sampler = new
BottomKSampler
<int, int>(
261
var sampler = new
BottomKSampler
<int, int>(
18 references to BottomKSampler
Microsoft.Extensions.Telemetry (5)
Sampling\BottomKLogBuffer.cs (2)
300
private
BottomKSampler
<int, SerializedLogRecord>? _reservoir;
434
public
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)
68
var
sampler = new BottomKSampler<int, int>(1);
81
var
sampler = new BottomKSampler<int, int>(1);
89
var
sampler = new BottomKSampler<int, int>(1, 0, 0, BottomKUnseenWeightMode.RarestSeen, 42);
102
var
sampler = new BottomKSampler<int, int>(4, 0, 0, BottomKUnseenWeightMode.Chao1, 42);
115
var
sampler = new BottomKSampler<int, int>(1, 0, 0, BottomKUnseenWeightMode.RarestSeen, Seed);
135
var
sampler = new BottomKSampler<int, int>(4, 0, 0, BottomKUnseenWeightMode.RarestSeen, 42);
160
var
sampler = new BottomKSampler<int, int>(capacity, 0, 0, BottomKUnseenWeightMode.RarestSeen, seed);
189
var
sampler = new BottomKSampler<int, int>(32, 0, 0, BottomKUnseenWeightMode.RarestSeen, seed);
212
var
sampler = new BottomKSampler<int, int>(
240
var
sampler = new BottomKSampler<int, int>(
261
var
sampler = new BottomKSampler<int, int>(
277
private static void AddPeriod(
BottomKSampler
<int, int> sampler, int[] arrivals)
288
private static void Add(
BottomKSampler
<int, int> sampler, int callsite, int payload)