Interface IPerformanceWatcher
- Namespace
- Framework.Systems.Diagnostics.Interfaces
- Assembly
- Assembly-CSharp.dll
DiagnosticSnapshot 기반 성능 문제 자동 감지 계약.
public interface IPerformanceWatcher
Remarks
감지 발생 시 반드시: log.Warning + metrics.Record + SaveSnapshot 수행. in 한정자로 snapshot 복사 비용 최소화.
Methods
Tick(in DiagnosticSnapshot)
스냅샷을 기반으로 임계값 초과 여부 검사.
void Tick(in DiagnosticSnapshot snapshot)
Parameters
snapshotDiagnosticSnapshot현재 프레임 DiagnosticSnapshot.