Table of Contents

Interface ILunyEngineProfiler

Namespace
Luny.Engine.Diagnostics
Assembly
Luny.dll

Concrete implementation of engine-level profiling. Tracks execution time for each lifecycle observer with configurable rolling average. Public methods use [Conditional] attributes - completely stripped in release builds unless LUNY_PROFILE defined.

public interface ILunyEngineProfiler

Properties

RollingAverageWindow

int RollingAverageWindow { get; set; }

Property Value

int

Methods

TakeSnapshot()

ILunyEngineProfilerSnapshot TakeSnapshot()

Returns

ILunyEngineProfilerSnapshot