| |
DxProf is realtime DirectX profiling tool for easy identification of
performance bottlecks on the GPU. DirectX 9, DirectX 10, and DirectX 11
are supported.
Functionality
DXProf injects itself into applications that use DirectX for
rendering.
It analyzes each draw call in every frame and displays performance
statistics for those draw calls, overlaying it over application
frame buffer. It is also able to save that statistics to text file for
later processing by other tools (e.g. Excel spreadsheets creation). It
works with Direct X9, Direct X10, or Direct X11 applications.
Report displayed by DXProf looks like this (rendering is done by
"cascaded shadow map" sample from Microsoft Direct X SDK):

Each bar
corresponds to draw call made by the application.
Pressing '~' (or shift-8) freezes the bars and enables call stack report - you can
pick any bar you like and see file and line where this draw call was
made. The last bar rendered in dark red is
the cost of Present() call. High Present() bar indicates that
application is CPU-bound.
Note that dxprof is able to report file and line for draw call only if
valid .pdb files are available for running application. .pdb files have
to be located in the same folder where application is located.
Usage
dxprof.exe <dxprof parameters> <application> [application parameters]
dxprof parameters include:
| --pauseatinit |
Pauses the target application with a message box. |
|
Usefull if you want to attach a debugger before
directx dlls get initialized. |
Supported operating systems:
32-bit: Windows XP, Windows Vista, Windows 7
64-bit: Windows XP, Windows Vista, Windows 7
Only 32-bit applications are supported currently. For example if you
run dxprof with 32-bit app on 64-bit OS, it should work. However,
running dxprof with 64-bit app will fail.
|
|