Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to query GPU Usage in DirectX?

How to query GPU Usage in DirectX? Specifically DirectX 11. If someone ever did it, could you provide me the code snippet?

like image 261
Freddy Indra Wiryadi Avatar asked May 04 '13 16:05

Freddy Indra Wiryadi


People also ask

Why does my GPU show 0 usage?

Your computer is using integrated graphics The graphics card isn't doing anything when the computer runs on the integrated GPU. You can still see it in the Task Manager and performance tracking programs. If this happens, you'll see 0-1% GPU usage on the graphs.


1 Answers

Process Hakcer is able to do this. See here: http://processhacker.svn.sourceforge.net/viewvc/processhacker/2.x/trunk/plugins/ExtendedTools/gpumon.c?revision=4927&view=markup

A similar question has been asked here: How do you calculate the load on a nvidia (cuda capable), gpu card?

like image 93
Vertexwahn Avatar answered Sep 19 '22 10:09

Vertexwahn