Archived

This topic is now archived and is closed to further replies.

How to accurately profile a D3D program?

This topic is 4985 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi all: I''m currently working on a benchmark program, for that I need to accumulate the time GPU uses on rendering. Now I simply put 2 timers around the DrawPrimitive() methods to avoid other D3D function calls overhead, the question is that is it the proper way to do, if not, any other better approaches?

Share this post


Link to post
Share on other sites
Are you familiar with PIX? If not, do a search for it, or check out this log. Basically, it''s a tool that profiles a D3D app on the GPU. It''s very helpful, and it will be released in the next SDK, which should be out this summer.


Dustin Franklin
Mircrosoft DirectX MVP

Share this post


Link to post
Share on other sites