How to programmatically (c/c++/c#) sample GPU usage in Windows 10

PancakeMaster

New member
May 19, 2019
1
0
0
Hello;
Part of the application development (Windows 10) in my company I need to programmatically sample the GPU usage. So far all the examples I found relate to GPU usage metrics via task manager or some other 3rd party application.
Are there a Windows API functions/samples to programmatically sample the current GPU usage?

Daniel.
 

Forum statistics

Threads
327,724
Messages
2,250,512
Members
428,662
Latest member
Hanserya