How Profiler Data is Collected?

Hey guys,

I am reading sources of UE and want to learn about how the Profiler of UE is implemented.
I followed the instructions of the Engine Source References and found Profiler, ProfilerClient, ProfilerService and ProfilerSession modules under Developer Section.
I read about sources of these modules but have got only how Profiler data are transmitted, dispatched and shown to user of UE, while how Profiler data are collected remains mystery.

Could any one please tell me where I can find the module that handles Profiler data collection?

Thanks for your time. :slight_smile: