文档

Unity Engine

Unity Engine

cpuMainThreadFrameTime

Total time between start of the frame and when the main thread finished the job, in ms.
阅读时间1 分钟最后更新于 1 个月前

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.