ScopedProfiler Class

Profiles individual scoped execution times. Thread-safe for concurrent scoped execution (future-proofing).

public class ScopedProfiler

Inheritance System.Object → ScopedProfiler

Properties
ScopedTimings Gets all scoped timing data.
Methods
BeginScope(string) Begins timing a scope.
GetScopeTiming(string) Gets timing data for a specific scope.
Reset() Resets all profiling data.