protected HostEnvironmentInfo()
 {
     BenchmarkDotNetVersion = GetBenchmarkDotNetVersion();
     OsVersion            = new Lazy <string>(RuntimeInformation.GetOsVersion);
     ProcessorName        = new Lazy <string>(RuntimeInformation.GetProcessorName);
     ProcessorCount       = Environment.ProcessorCount;
     ChronometerFrequency = Chronometer.Frequency;
     HardwareTimerKind    = Chronometer.HardwareTimerKind;
     JitModules           = RuntimeInformation.GetJitModulesInfo();
     DotNetCliVersion     = new Lazy <string>(DotNetCliCommandExecutor.GetDotNetCliVersion);
 }
 protected HostEnvironmentInfo()
 {
     BenchmarkDotNetVersion = GetBenchmarkDotNetVersion();
     OsVersion                = new Lazy <string>(RuntimeInformation.GetOsVersion);
     CpuInfo                  = new Lazy <CpuInfo>(RuntimeInformation.GetCpuInfo);
     ChronometerFrequency     = Chronometer.Frequency;
     HardwareTimerKind        = Chronometer.HardwareTimerKind;
     JitModules               = RuntimeInformation.GetJitModulesInfo();
     DotNetSdkVersion         = new Lazy <string>(DotNetCliCommandExecutor.GetDotNetSdkVersion);
     AntivirusProducts        = new Lazy <ICollection <Antivirus> >(RuntimeInformation.GetAntivirusProducts);
     VirtualMachineHypervisor = new Lazy <VirtualMachineHypervisor>(RuntimeInformation.GetVirtualMachineHypervisor);
 }
 protected HostEnvironmentInfo()
 {
     BenchmarkDotNetVersion = GetBenchmarkDotNetVersion();
     OsVersion                = new Lazy <string>(RuntimeInformation.GetOsVersion);
     CpuInfo                  = new Lazy <CpuInfo>(RuntimeInformation.GetCpuInfo);
     ChronometerFrequency     = Chronometer.Frequency;
     HardwareTimerKind        = Chronometer.HardwareTimerKind;
     JitModules               = RuntimeInformation.GetJitModulesInfo();
     DotNetSdkVersion         = new Lazy <string>(DotNetCliCommandExecutor.GetDotNetSdkVersion);
     IsMonoInstalled          = new Lazy <bool>(() => !string.IsNullOrEmpty(ProcessHelper.RunAndReadOutput("mono", "--version")));
     AntivirusProducts        = new Lazy <ICollection <Antivirus> >(RuntimeInformation.GetAntivirusProducts);
     VirtualMachineHypervisor = new Lazy <VirtualMachineHypervisor>(RuntimeInformation.GetVirtualMachineHypervisor);
 }