Table of Contents

Class FrameSeries

Namespace
FishMMO.Client
Assembly
FishMMO.Client.dll

How a play session's frame rate and memory develop from the first frame on, as rows in the log: one a second for DetailSeconds, then one every TrendSeconds for as long as play lasts. Each row has the frame time (median and worst), the GPU's and the two CPU threads' frame times, the memory Unity and the GC hold, the GC runs, whether the grass and the detail scatter are still taking terrains on, and the systems that cost the most main thread, with what the worst frame of the row spent. Editor only; off unless switched on (Dashboard → Maintenance → Diagnostics → Toggle frame series, or FISHMMO_FRAME_SERIES=1 for a probe run). Search Editor.log for "[FrameSeries]".

public sealed class FrameSeries : MonoBehaviour
Inheritance
Object
Component
Behaviour
MonoBehaviour
FrameSeries
Inherited Members
MonoBehaviour.IsInvoking()
MonoBehaviour.CancelInvoke()
MonoBehaviour.StopCoroutine(Coroutine)
MonoBehaviour.StopAllCoroutines()
MonoBehaviour.destroyCancellationToken
MonoBehaviour.useGUILayout
MonoBehaviour.didStart
MonoBehaviour.didAwake
MonoBehaviour.runInEditMode
Behaviour.enabled
Behaviour.isActiveAndEnabled
Component.GetComponent<T>()
Component.TryGetComponent<T>(out T)
Component.GetComponentInChildren<T>()
Component.GetComponentsInChildren<T>()
Component.GetComponentInParent<T>()
Component.GetComponentsInParent<T>()
Component.GetComponents<T>()
Component.GetComponentIndex()
Component.CompareTag(TagHandle)
Component.transform
Component.transformHandle
Component.gameObject
Component.tag
Object.GetEntityId()
Object.GetInstanceID()
Object.GetHashCode()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Scene)
Object.Instantiate<T>(T, InstantiateParameters)
Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.Instantiate(Object, Transform)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DontDestroyOnLoad(Object)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Object.FindObjectsByType<T>()
Object.FindObjectsByType<T>(FindObjectsInactive)
Object.ToString()
Object.name
Object.hideFlags

Remarks

Cheap on purpose, unlike StartupTimeline (which reads every marker Unity has each frame, ~7 ms of the main thread while it runs): a fixed list of markers (FishMMO.Client.FrameSeries.Watched), each read once a frame.

Fields

DetailSeconds

public const float DetailSeconds = 180

Field Value

float

EnabledKey

EditorPrefs switch: true records a series on every Play. Off by default.

public const string EnabledKey = "FishMMO.FrameSeries.Enabled"

Field Value

string

HitchMilliseconds

A frame at least this long counts as a hitch in its row.

public const float HitchMilliseconds = 50

Field Value

float

TrendSeconds

public const float TrendSeconds = 15

Field Value

float

Properties

Enabled

public static bool Enabled { get; set; }

Property Value

bool