Skip to content

ScopedProfiler.BeginScope(string) Method

Definition

Namespace: Brine2D.Performance

Begins timing a scope.

public System.IDisposable BeginScope(string scopeName);

Parameters

scopeName System.String

Name of the scope being profiled.

Returns

System.IDisposable
A disposable scope that automatically ends timing.