做3D的应该都比较熟悉这个软件了 如果是分析别人的程序的话 因为需要传入指定的参数就要去Hook D3D的函数了
这是个以前帮客户端同事做的一个小工具 现在也拿出来给大家用了
使用的话将文件放到程序目录下 修改SetDll.Bat里的程序为你要HOOK的程序
然后运行BAT即可
然后用PerfKit运行HOOK后的程序
http://cid-8649394735bd5856.skydrive.live.com/browse.aspx/.Public 从这下载 D3DHook.rar
装完Nvidia PerfKit 的时候记得重启哦 不然是不能正常使用的
NVIDIA PerfKit is a comprehensive suite of performance tools to help debug and profile OpenGL, Direct3D and CUDA applications.
It gives you access to low-level performance counters inside the driver and hardware counters inside the GPU itself. The counters can be used to determine exactly how your application is using the GPU, identify performance issues, and confirm that performance problems have been resolved.
NVIDIA PerfKit includes support for 32-bit and 64-bit Windows 7 and Vista platforms.
The performance counters are available directly in your OpenGL and DirectX applications, giving you low-latency access to PerfKit performance counters directly from the driver.
The latest version of NVIDIA PerfKit does not contain NVIDIA PerfHUD. PerfHUD functionality has been added to Nsight™ Visual Studio Edition from version 2.2 onward. NVIDIA® Nsight™ Development Platform, Visual Studio Edition is a graphics debugging and profiling environment integrated into Visual Studio.
We recommend all PerfHUD users to migrate to using Nsight™ Visual Studio Edition 2.2. All future development of PerfHUD will be deprecated as a result of full PerfHUD feature support in Nsight™ Visual Studio Edition. The last released version of PerfHUD is available here.
Please let us know if you have any questions or encounter any problems by visiting our developer forums.
NVIDIA PerfKit consists of the following components: