protected BenchmarkEnvironmentInfo()
 {
     Architecture   = RuntimeInformation.GetArchitecture();
     ClrVersion     = RuntimeInformation.GetClrVersion();
     Configuration  = RuntimeInformation.GetConfiguration();
     HasRyuJit      = RuntimeInformation.HasRyuJit();
     IsServerGC     = GCSettings.IsServerGC;
     IsConcurrentGC = GCSettings.LatencyMode != GCLatencyMode.Batch;
 }
Example #2
0
 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;
 }
Example #3
0
 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;
 }