Skip to main content
GameDev.net gamedev.net
🔒 Locked

Using D3DQuery with NvPerfHUD.

Started by MiggyE Jul 6, 2006 at 1:21 PM 1 replies 600+ views
Original Post
MiggyE
MiggyE
Hi there! Has anybody used D3DQuery to add markers for profiling with NvPerfHUD? In the NvPerfHUD documentation it says that you can use D3D markers (I'm assuming D3DQuery events) to place markers in the GPU command buffer and the markers can be visualized in NvPerfHUD. Adding the D3DQuery events seems to be pretty trivial but is there any way to associate a string with the event? For example, to profile the time it takes to render a cube you'd add an event called "Cube Render". Thanks.
circlesoft
circlesoft
I believe it is refering to the D3DPERF_*() set of functions, such as:

- D3DPERF_BeginEvent()
- D3DPERF_EndEvent()
- ...

These are used for other profilers like PIX, so I'd bet they work for perfHud, too.
MiggyE
MiggyE
Aha! I'll give it a try. Thanks for the info!!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.