struct in UnityEngine
/
Implemented in:UnityEngine.CoreModule
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
CloseStruct containing basic FrameTimings and accompanying relevant data.
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. |
cpuMainThreadFrameTime | Total time between start of the frame and when the main thread finished the job, in ms. |
cpuMainThreadPresentWaitTime | The CPU time the last frame spent in waiting for Present on the main thread, in ms. |
cpuRenderThreadFrameTime | The frame time between start of the work on the render thread and when Present was called, in ms. |
cpuTimeFrameComplete | This is the CPU clock time at the point GPU finished rendering the frame and interrupted the CPU. |
cpuTimePresentCalled | This is the CPU clock time at the point Present was called for the current frame. |
firstSubmitTimestamp | This is the CPU clock time of the time when the first job was submitted to GPU. |
frameStartTimestamp | This is the CPU clock time of the time when the frame was started. |
gpuFrameTime | The GPU time for a given frame, in ms. |
heightScale | This was the height scale factor of the Dynamic Resolution system(if used) for the given frame and the linked frame timings. |
syncInterval | This was the vsync mode for the given frame and the linked frame timings. |
widthScale | This was the width scale factor of the Dynamic Resolution system(if used) for the given frame and the linked frame timings. |