Best way to get GPU device states (Usage/Clock)

Hi, we’re trying to use csv profiler to collect GPU states info like the usage fraction and clock and we see UpdateCoreCsvStats_EndFrame did try to collect the stats we want.

But sadly the GRHISupportsGPUUsage is always false on our interested platforms (Windows and Consoles), so the csv profiler could not collect the gpu stats.

We see someone asked a similar question before [Best way to get user-accessible CPU/GPU utilization in shipping [Content removed] , and it seems like the issue is caused by the D3DExternalGPUStatistics plugin is missing.

So, we’re wondering can we get the D3DExternalGPUStatistics plugin somehow? Or do we have to dive into the platform api and trying to figure out how to collect them ourselves.

Hi,

Unfortunately, as mentioned in the thread you linked to, we are not allowed to hand out access to the D3DExternalGPUStatistics plugin, as we do not have the permission to distribute our implementation publicly. You are free to build your own implementation, which would require you to browse through the platform API and collect the data you need yourself. I hope that clears up your questions, but please let me know if you have any other questions.

I’m sorry, but there are no plans to open the plugin to the public at this time. I have made the dev team aware of this request, though, so we might consider publishing the plugin in the future. For now, your best bet is to implement a similar plugin.

Thanks, I understand the plugin is currently in the NoRedist folder, but do you have any plan to make the GPU statistic feature available in the main branch?