Table of Contents

Class BufferSnapshot

Namespace
DotCompute.Memory
Assembly
DotCompute.Memory.dll

Snapshot of buffer state at a specific point in time.

public sealed class BufferSnapshot
Inheritance
BufferSnapshot
Inherited Members

Properties

Id

Gets or sets the id.

public Guid Id { get; init; }

Property Value

Guid

The id.

IsDirty

Gets or sets a value indicating whether dirty.

public bool IsDirty { get; init; }

Property Value

bool

The is dirty.

IsOnDevice

Gets or sets a value indicating whether on device.

public bool IsOnDevice { get; init; }

Property Value

bool

The is on device.

IsOnHost

Gets or sets a value indicating whether on host.

public bool IsOnHost { get; init; }

Property Value

bool

The is on host.

LastAccessTime

Gets or sets the last access time.

public DateTime LastAccessTime { get; init; }

Property Value

DateTime

The last access time.

Length

Gets or sets the length.

public int Length { get; init; }

Property Value

int

The length.

SizeInBytes

Gets or sets the size in bytes.

public long SizeInBytes { get; init; }

Property Value

long

The size in bytes.

State

Gets or sets the state.

public BufferState State { get; init; }

Property Value

BufferState

The state.

Timestamp

Gets or sets the timestamp.

public DateTimeOffset Timestamp { get; init; }

Property Value

DateTimeOffset

The timestamp.

TransferCount

Gets or sets the transfer count.

public long TransferCount { get; init; }

Property Value

long

The transfer count.