Struct ProfilerSessionScope
- Namespace
- AiDotNet.Diagnostics
- Assembly
- AiDotNet.dll
A scoped profiler that automatically records timing when disposed.
public readonly struct ProfilerSessionScope : IDisposable
- Implements
- Inherited Members
Properties
Elapsed
Gets the elapsed time so far.
public TimeSpan Elapsed { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()