UE4.20からの新機能でTracing Profilerという機能が追加されました。とは言ってもリリースノートの細かいとこに載ってるので気づく人は少ないと思います。
Unreal Engine 4.20 Release Notes
New: Initial implementation of tracing profiler to show CPU and GPU on the same timeline. Use “TracingProfiler frames=N” console command to trigger a capture of the next N frames. Trace is saved to disk as a JSON file into the “Saved/Profiling/Traces” directory. Trace file uses Google Tracing format and can be visualized in Chrome built-in profiler (chrome://tracing).
普段からプロファイリングばかりやってるので、この機能を使わない手はありません。説明によれば、CPUとGPUを同じタイムライン上で確認ができるようです。しかも説明をよく読むと、Google Chrome上で確認ができるとのことです。
ひとまずどのような手順で使えるのかを確認してみましょう。
続きを読む