6 references to new
Interop.FunctionalTests (1)
Http2\Http2RequestTests.cs (1)
55
measurementTcs.SetResult(new
Measurement
<double>(measurement, tags));
System.Diagnostics.DiagnosticSource (5)
System\Diagnostics\Metrics\RuntimeMetrics.cs (5)
166
yield return
new
(collectionsFromThisGeneration - collectionsFromHigherGeneration, new KeyValuePair<string, object?>("gc.heap.generation", s_genNames[gen]));
181
yield return
new
(processCpuUsage.UserTime.TotalSeconds, [new KeyValuePair<string, object?>("cpu.mode", "user")]);
182
yield return
new
(processCpuUsage.PrivilegedTime.TotalSeconds, [new KeyValuePair<string, object?>("cpu.mode", "system")]);
191
yield return
new
(gcInfo.GenerationInfo[i].SizeAfterBytes, new KeyValuePair<string, object?>("gc.heap.generation", s_genNames[i]));
201
yield return
new
(gcInfo.GenerationInfo[i].FragmentationAfterBytes, new KeyValuePair<string, object?>("gc.heap.generation", s_genNames[i]));