Diagnostics

18 public types in this namespace, organized by kind.

Models & Types (12)

Type Summary
AccelerationSnapshot Immutable snapshot of acceleration state at a point in time.
MemoryDiff Difference between two memory snapshots.
MemorySnapshot A snapshot of memory usage at a point in time.
OperationTiming
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.
TensorsOperationProfile Structured performance report captured at build time when the builder opts in via EnableProfiling().

Interfaces (1)

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

Enums (1)

Type Summary
MemoryPressureLevel Memory pressure levels.

Structs (2)

Type Summary
MemoryScope A scope that automatically captures before/after memory snapshots.
ProfilerSessionScope A scoped profiler that automatically records timing when disposed.

Helpers & Utilities (2)

Type Summary
AccelerationDiagnostics Snapshots the live acceleration environment so users can see which SIMD, GPU, and GPU library paths are actually engaged at runtime, instead of assuming from config.
MemoryTracker Tracks memory usage and allocations during ML operations.