Skip to content

Perf.Scope

Namespace Nfty.Core.Diagnostics in assembly Nfty.Core.

public readonly struct Perf.Scope : IDisposable

One measured block. A default instance is the disabled case and does nothing.

Methods

Dispose()

public void Dispose();

Closes the scope and folds its time and allocation into the totals.