Pergunta

I was wondering if there was any way to query or keep track of the total video memory I am using in my Direct3D 11 C++ app? I know how to query the GPU for the total available memory but I want to keep a track of how much of it I am using. Is that possible?

Foi útil?

Solução

There are a number of profilers out there. If you just need GPU memory over time by application, possibly the easiest is good old Process Explorer. After installing it, double click your application and select the GPU graph.

Here's an image of me hammering on my app: enter image description here

If you find yourself needing more data, NVidia Nsight is nothing short of amazing.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top