Class MemoryOperationMetrics
- Namespace
- DotCompute.Abstractions.Performance
- Assembly
- DotCompute.Abstractions.dll
Metrics for memory operations.
public sealed class MemoryOperationMetrics
- Inheritance
-
MemoryOperationMetrics
- Inherited Members
Properties
DurationMs
Gets or sets the duration in milliseconds.
public double DurationMs { get; init; }
Property Value
MemoryType
Gets or sets the memory type.
public MemoryType MemoryType { get; init; }
Property Value
OperationType
Gets or sets the operation type.
public required MemoryOperationType OperationType { get; init; }
Property Value
SizeInBytes
Gets or sets the size in bytes.
public long SizeInBytes { get; init; }
Property Value
Timestamp
Gets or sets the timestamp.
public DateTimeOffset Timestamp { get; init; }
Property Value
WasPooled
Gets or sets whether the operation was pooled.
public bool WasPooled { get; init; }