public ContentionStatsCollector(IMetrics metrics) { _metrics = metrics; _eventPairTimer = new EventPairTimer <long>( EventIdContentionStart, EventIdContentionStop, x => x.OSThreadId ); }
public JitStatsCollector(IMetrics metrics) { _metrics = metrics; _eventPairTimer = new EventPairTimer <ulong>( EventIdMethodJittingStarted, EventIdMethodLoadVerbose, x => (ulong)x.Payload[0] ); }
public JitEventParser(SamplingRate samplingRate) { _samplingRate = samplingRate; _eventPairTimer = new EventPairTimer <ulong>( EventIdMethodJittingStarted, EventIdMethodLoadVerbose, x => (ulong)x.Payload[0], samplingRate ); }
public ThreadPoolSchedulingStatsCollector(IMetrics metrics) { _metrics = metrics; _eventPairTimer = new EventPairTimer <long>( EventIdThreadPoolEnqueueWork, EventIdThreadPoolDequeueWork, x => (long)x.Payload[0], new Cache <long, int>(TimeSpan.FromSeconds(30), initialCapacity: 512) ); }
public ContentionEventParser(SamplingRate samplingRate) { _samplingRate = samplingRate; _eventPairTimer = new EventPairTimer <long>( EventIdContentionStart, EventIdContentionStop, x => x.OSThreadId, samplingRate ); }
public ThreadPoolSchedulingStatsCollector(double[] histogramBuckets, SamplingRate samplingRate) { _histogramBuckets = histogramBuckets; _samplingRate = samplingRate; _eventPairTimer = new EventPairTimer <long>( EventIdThreadPoolEnqueueWork, EventIdThreadPoolDequeueWork, x => (long)x.Payload[0], samplingRate, new Cache <long, int>(TimeSpan.FromSeconds(30), initialCapacity: 512) ); }
public KestrelEventParser(SamplingRate samplingRate) { _samplingRate = samplingRate; _eventPairTimerConnections = new EventPairTimer <long>( EventIdConnectionStart, EventIdConnectionStop, x => x.OSThreadId, samplingRate ); _eventPairTimerRequests = new EventPairTimer <long>( EventIdRequestStart, EventIdRequestStop, x => x.OSThreadId, samplingRate ); }
public void SetUp() { _eventPairTimer = new EventPairTimer <long>(EventIdStart, EventIdEnd, x => (long)x.Payload[0]); }
public void SetUp() { _eventPairTimer = new EventPairTimer <long>(EventIdStart, EventIdEnd, x => (long)x.Payload[0], SampleEvery.TwoEvents); }