Struct PerformanceThreshold
- Namespace
- Framework.Systems.Diagnostics.Data
- Assembly
- Assembly-CSharp.dll
플랫폼별 성능 임계값 설정. 초과 시 PerformanceWatcher가 감지 이벤트를 발생시킨다.
public struct PerformanceThreshold
Fields
DrawCalls
DrawCall Spike 판정 임계값.
public int DrawCalls
Field Value
- int
FrameTime
Low FPS 판정 FrameTime(ms). 기본 33.3ms(≈30FPS).
public float FrameTime
Field Value
- float
GCAlloc
GC Spike 판정 임계값(bytes). 기본 1MB.
public long GCAlloc
Field Value
- long
MemoryLeakSamples
Memory Leak 판정을 위한 연속 증가 허용 횟수.
public int MemoryLeakSamples
Field Value
- int
SevereFrameTime
Severe Drop 판정 FrameTime(ms). 기본 50ms(≈20FPS).
public float SevereFrameTime
Field Value
- float
SpawnPerSecond
초당 Instantiate Burst 판정 임계값.
public int SpawnPerSecond
Field Value
- int
Properties
Console
Console 기본 임계값.
public static PerformanceThreshold Console { get; }
Property Value
Mobile
Mobile 기본 임계값 (더 엄격).
public static PerformanceThreshold Mobile { get; }
Property Value
PC
PC 기본 임계값.
public static PerformanceThreshold PC { get; }