Table of Contents

Class DataTransferMetrics

Namespace
DotCompute.Abstractions.Performance
Assembly
DotCompute.Abstractions.dll

Metrics for data transfers.

public sealed class DataTransferMetrics
Inheritance
DataTransferMetrics
Inherited Members

Properties

BandwidthGBps

Gets or sets the bandwidth achieved in GB/s.

public double BandwidthGBps { get; }

Property Value

double

Direction

Gets or sets the transfer direction.

public required TransferDirection Direction { get; init; }

Property Value

TransferDirection

IsAsync

Gets or sets whether the transfer was asynchronous.

public bool IsAsync { get; init; }

Property Value

bool

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

TransferTimeMs

Gets or sets the transfer time in milliseconds.

public double TransferTimeMs { get; init; }

Property Value

double