Table of Contents

Class MemoryCleanupSummary

Namespace
DotCompute.Backends.CUDA.Memory.Models
Assembly
DotCompute.Backends.CUDA.dll

Summary of a comprehensive memory cleanup run performed by PerformCleanupAsync(CancellationToken).

public sealed class MemoryCleanupSummary
Inheritance
MemoryCleanupSummary
Inherited Members

Properties

Duration

Gets the total duration of the cleanup.

public TimeSpan Duration { get; }

Property Value

TimeSpan

EndTime

Gets the UTC timestamp when the cleanup finished.

public DateTimeOffset EndTime { get; init; }

Property Value

DateTimeOffset

ErrorMessage

Gets the error message if Success is false.

public string? ErrorMessage { get; init; }

Property Value

string

MemoryFreed

Gets the number of bytes freed by the cleanup.

public long MemoryFreed { get; init; }

Property Value

long

OptimizationsPerformed

Gets the list of optimization phases applied during cleanup.

public IReadOnlyList<string> OptimizationsPerformed { get; init; }

Property Value

IReadOnlyList<string>

PoolItemsFreed

Gets the number of pooled items freed.

public int PoolItemsFreed { get; init; }

Property Value

int

StartTime

Gets the UTC timestamp when the cleanup started.

public DateTimeOffset StartTime { get; init; }

Property Value

DateTimeOffset

Success

Gets a value indicating whether the cleanup completed successfully.

public bool Success { get; init; }

Property Value

bool