Class AllocationSpikeWatcher
- Namespace
- Framework.Systems.Diagnostics
- Assembly
- Assembly-CSharp.dll
Mono Heap Allocation Spike 자동 감지. 프레임간 Mono 힙 증가량이 N회 연속 임계값 초과 시 Warning. 쿨다운으로 로그 스팸 방지.
public sealed class AllocationSpikeWatcher : IDiagnosticsWatcher
- Inheritance
-
objectAllocationSpikeWatcher
- Implements
Constructors
AllocationSpikeWatcher(DiagnosticsConfig)
public AllocationSpikeWatcher(DiagnosticsConfig config)
Parameters
configDiagnosticsConfig
Properties
Enabled
Watcher 활성 여부.
public bool Enabled { get; }
Property Value
- bool
Name
Watcher 표시 이름.
public string Name { get; }
Property Value
- string
Methods
GetStatus()
현재 상태 한 줄 요약. Overlay Custom 섹션에 표시. 예: "Last Frame : 52ms / Spike Count : 4"
public string GetStatus()
Returns
- string
Tick(float)
public void Tick(float deltaTime)
Parameters
deltaTimefloat