Documentation

Unity Engine


User Manual

Script Reference

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 4 days 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.