0

there is a problem with me that I want to get some application's usage of graphics card, like frame rate, rending time per frame , caton rate ...

I want to use some windows api in my code to get it ,but I do not know how.

Thanks a lot.

selbie
  • 100,020
  • 15
  • 103
  • 173
silic0n
  • 21
  • 2
  • Perhaps this can be a starting point? https://stackoverflow.com/questions/50526742/how-to-use-wmi-to-get-gpu-info – Tiago Peczenyj Mar 27 '22 at 06:55
  • if its your app you can measure the times inside your code ... see [OpenGL GPU times](https://stackoverflow.com/a/37490211/2521214) and [Windows CPU times](https://stackoverflow.com/a/21509808/2521214) and you can also use RDTS instruction if on x86/x64 CPU ... – Spektre Mar 27 '22 at 08:48
  • As far as I'm concerned, you could try to use WMI and [Win32_VideoController class](https://learn.microsoft.com/en-gb/windows/win32/cimwin32prov/win32-videocontroller?redirectedfrom=MSDN). – Jeaninez - MSFT Mar 28 '22 at 03:17

0 Answers0