Which part of the code are running in RHI thread, rendering thread and game thread?

Hi,

I am currently working on optimize the CPU performance for RHI thread, rendering thread and game thread.

I wonder what procedures should I do, in order to find which part of the source code are running in each of these three threads?

Best wishes,
Lei

Refer To This For Understanding All Three Threads 剖析虚幻渲染体系-开篇说明 - 0向往0 - 博客园 (You Have to Translate into English).