Version: Unity 6.0 (6000.0)
언어 : 한국어
프레임 타이밍 데이터 기록
렌더링 프로파일러 모듈

Frame timing API counter reference

The following table describes the purpose of the counters that the FrameTiming API provides.

FrameTiming API field Profiler counter Description
cpuFrameTime CPU Total Frame Time The total CPU frame time, in milliseconds. Unity calculates this as the time between the ends of two frames, including any overheads or time spent waiting in between frames.
cpuMainThreadFrameTime CPU Main Thread Frame Time Active main thread work time. This is the PlayerLoop time without the time the main thread was waiting for the VSync or render thread to finish its work, calculated as follows:

cpuMainThreadFrameTime = PlayerLoop - GfxDevice.WaitForRenderThread - Gfx.WaitForPresentOnGfxThread - WaitForTargetFPS
cpuMainThreadPresentWaitTime N/A The CPU time spent waiting for the frame presentation or VSync during the frame, calculated as follows:

cpuMainThreadPresentWaitTime = Gfx.WaitForPresentOnGfxThread + WaitForTargetFPS.
cpuRenderThreadFrameTime CPU Render Thread Frame Time Active Render Thread work time without Unity calling the Present() function, calculated as follows:

cpuRenderThreadFrameTime = RenderLoop - Gfx.PresentFrame.
gpuFrameTime GPU Frame Time The time difference between the beginning and the end of the GPU rendering a single frame.

The following diagram visualizes the relationships between FrameTiming and the Profiler frame data. Diagram showing relation of FrameTiming API to Profiler data

Additional resources

프레임 타이밍 데이터 기록
렌더링 프로파일러 모듈
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961