Table of Contents

Class CpuPerformanceInfo

Namespace
DotCompute.Backends.CPU.Threading.NUMA
Assembly
DotCompute.Backends.CPU.dll

CPU performance characteristics for NUMA awareness.

public sealed class CpuPerformanceInfo
Inheritance
CpuPerformanceInfo
Inherited Members

Properties

Architecture

Gets the CPU architecture.

public string? Architecture { get; init; }

Property Value

string

CoreCount

Gets the number of cores.

public required int CoreCount { get; init; }

Property Value

int

Family

Gets the CPU family.

public int Family { get; init; }

Property Value

int

FrequencyMhz

Gets the CPU frequency in MHz.

public required double FrequencyMhz { get; init; }

Property Value

double

HyperThreadingEnabled

Gets whether hyper-threading is enabled.

public bool HyperThreadingEnabled { get; }

Property Value

bool

LogicalProcessorCount

Gets the number of logical processors.

public required int LogicalProcessorCount { get; init; }

Property Value

int

Model

Gets the CPU model.

public int Model { get; init; }

Property Value

int

ModelName

Gets the CPU model name.

public string? ModelName { get; init; }

Property Value

string

PerformanceRating

Gets the performance rating (0.0 to 1.0).

public double PerformanceRating { get; }

Property Value

double

Stepping

Gets the CPU stepping.

public int Stepping { get; init; }

Property Value

int

ThreadsPerCore

Gets the threads per core ratio.

public double ThreadsPerCore { get; }

Property Value

double

Vendor

Gets the CPU vendor.

public string? Vendor { get; init; }

Property Value

string