Documentation

Unity Engine

Unity Engine

cpuMainThreadFrameTime

Total time between start of the frame and when the main thread finished the job, in ms.
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public double cpuMainThreadFrameTime

Remarks

This metric is also exposed as CPU Main Thread Frame Time profiler counter.
Additional Resources: Get frame timing data.