ProfileScope struct Core

An exclusive measurement of one bucket that ends when disposed; a value, so it allocates nothing. The default instance measures nothing.

public readonly struct ProfileScope : IDisposable
Namespace
ArionUI.Core
Package
ArionUI.Core · dotnet add package ArionUI.Core --prerelease
Implements
IDisposable

Methods

Dispose

public void Dispose();

Books the time since the scope began, minus what nested buckets booked.