Table of Contents

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

double

MemoryType

Gets or sets the memory type.

public MemoryType MemoryType { get; init; }

Property Value

MemoryType

OperationType

Gets or sets the operation type.

public required MemoryOperationType OperationType { get; init; }

Property Value

MemoryOperationType

SizeInBytes

Gets or sets the size in bytes.

public long SizeInBytes { get; init; }

Property Value

long

Timestamp

Gets or sets the timestamp.

public DateTimeOffset Timestamp { get; init; }

Property Value

DateTimeOffset

WasPooled

Gets or sets whether the operation was pooled.

public bool WasPooled { get; init; }

Property Value

bool