Class CacheLevel
- Namespace
- DotCompute.Backends.CPU.Threading.NUMA
- Assembly
- DotCompute.Backends.CPU.dll
Information about a specific cache level.
public sealed class CacheLevel
- Inheritance
-
CacheLevel
- Inherited Members
Properties
Associativity
Gets the associativity of the cache.
public int Associativity { get; init; }
Property Value
EfficiencyScore
Gets the cache efficiency score (0.0 to 1.0).
public double EfficiencyScore { get; }
Property Value
IsShared
Gets whether this is a shared cache across multiple cores.
public bool IsShared { get; init; }
Property Value
LatencyCycles
Gets the cache latency in cycles (if available).
public int LatencyCycles { get; init; }
Property Value
Level
Gets the cache level (1, 2, 3, etc.).
public required int Level { get; init; }
Property Value
LineSize
Gets the cache line size in bytes.
public required int LineSize { get; init; }
Property Value
SizeInBytes
Gets the cache size in bytes.
public required long SizeInBytes { get; init; }
Property Value
Type
Gets the cache type (Data, Instruction, Unified).
public required string Type { get; init; }