Class CpuInfo
- Namespace
- BenchmarkDotNet.Portability.Cpu
- Assembly
- BenchmarkDotNet.dll
public class CpuInfo
- Inheritance
-
CpuInfo
Constructors
CpuInfo(string, int?, int?, int?, Frequency?, Frequency?, Frequency?)
public CpuInfo(string processorName, int? physicalProcessorCount, int? physicalCoreCount, int? logicalCoreCount, Frequency? nominalFrequency, Frequency? minFrequency, Frequency? maxFrequency)
Parameters
processorName
stringphysicalProcessorCount
int?physicalCoreCount
int?logicalCoreCount
int?nominalFrequency
Frequency?minFrequency
Frequency?maxFrequency
Frequency?
Properties
LogicalCoreCount
public int? LogicalCoreCount { get; }
Property Value
- int?
MaxFrequency
public Frequency? MaxFrequency { get; }
Property Value
- Frequency?
MinFrequency
public Frequency? MinFrequency { get; }
Property Value
- Frequency?
NominalFrequency
public Frequency? NominalFrequency { get; }
Property Value
- Frequency?
PhysicalCoreCount
public int? PhysicalCoreCount { get; }
Property Value
- int?
PhysicalProcessorCount
public int? PhysicalProcessorCount { get; }
Property Value
- int?
ProcessorName
public string ProcessorName { get; }