Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


cpuFrameTime

This is the total CPU frame time calculated as the time between ends of two frames, which includes all waiting time and overheads, in ms.
Read time 1 minuteLast updated 5 days ago

Definition

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

Remarks

This metric is also exposed as CPU Total Frame Time profiler counter.
Time spent while the application is paused (via
Application.Pause
) is excluded. The value reported for the first frame after resuming from a pause reflects only the actual frame work time.
Additional Resources: Get frame timing data.