Table of Contents

Namespace AiDotNet.Diagnostics

Classes

MemoryDiff

Difference between two memory snapshots.

MemorySnapshot

A snapshot of memory usage at a point in time.

MemoryTracker

Tracks memory usage and allocations during ML operations.

ProfileComparison

Result of comparing two profiling reports.

ProfileRegression

Details about a regression or improvement in performance.

ProfileReport

A comprehensive profiling report containing all collected metrics.

ProfilerSession

Instance-based performance profiler for ML operations.

ProfilerSessionEntry

A single profiler entry tracking an operation's performance using streaming algorithms.

ProfilerSessionTimer

A manual profiler timer that must be explicitly stopped.

ProfilerStats

Statistics for a profiled operation.

Structs

MemoryScope

A scope that automatically captures before/after memory snapshots.

ProfilerSessionScope

A scoped profiler that automatically records timing when disposed.

Interfaces

IProfilerEntry

Interface for profiler entries to support both legacy and new implementations.

Enums

MemoryPressureLevel

Memory pressure levels.