protected BenchmarkEnvironmentInfo() { Architecture = RuntimeInformation.GetArchitecture(); ClrVersion = RuntimeInformation.GetClrVersion(); Configuration = RuntimeInformation.GetConfiguration(); HasRyuJit = RuntimeInformation.HasRyuJit(); IsServerGC = GCSettings.IsServerGC; IsConcurrentGC = GCSettings.LatencyMode != GCLatencyMode.Batch; }
protected BenchmarkEnvironmentInfo() { Architecture = RuntimeInformation.GetArchitecture(); RuntimeVersion = RuntimeInformation.GetRuntimeVersion(); Configuration = RuntimeInformation.GetConfiguration(); HasRyuJit = RuntimeInformation.HasRyuJit(); JitInfo = RuntimeInformation.GetJitInfo(); IsServerGC = GCSettings.IsServerGC; IsConcurrentGC = GCSettings.LatencyMode != GCLatencyMode.Batch; HasAttachedDebugger = Debugger.IsAttached; }
protected BenchmarkEnvironmentInfo() { Architecture = RuntimeInformation.GetArchitecture(); RuntimeVersion = RuntimeInformation.GetRuntimeVersion(); Configuration = RuntimeInformation.GetConfiguration(); HasRyuJit = RuntimeInformation.HasRyuJit(); JitInfo = RuntimeInformation.GetJitInfo(); IsServerGC = GCSettings.IsServerGC; IsConcurrentGC = GCSettings.LatencyMode != GCLatencyMode.Batch; HasAttachedDebugger = Debugger.IsAttached; GCAllocationQuantum = GcStats.AllocationQuantum; InDocker = RuntimeInformation.IsRunningInContainer; }