Using NVidia PerfHUD from within Visual Studio
来源:互联网 发布:淘宝卖家发货短信提醒 编辑:程序博客网 时间:2024/06/08 05:29
Go to Tools>External Tools and choose Add then give it a good title "NVidia perfHUD". In the Command box, point it to the NVidia perfHUD exe (not your exe). You will want to pass your exe as an argument, so in the Arguments box enter $(TargetPath) (no quotes). You will also probably need to set the Initial Directory to $(TargetDir) or $(ProjectDir). Then, use the "Move Up" button to move the new tool to the top of the list. Click Ok.
Now, add it to the Debug toolbar (where it logically belongs). To do that, go to Tools>Customize... then from the Categories list (the list to the left) select Tools, then from the list to the right look for "External Command 1" (it's 1 because we moved NVidia PerfHUD to the top of the list earlier), then drag it and drop it on one of the visible toolbars (the Debug toolbar is the most reasonable choice).
At this point, you can click on the newly added toolbar item to launch NVidia perfHUD with your exe. But you will probably want to add a keyboard shortcut to it. To do that, go to Tools>Options, and from the left select Environment>Keyboard. Now, in the text box titled "Show commands containing:", enter ExternalCommand1. This will narrow down the list to one item (which is the one we need). Then give it an intuitive shortcut (I use Ctrl+Alt+N and select Global from the "Use new shortcut in:" combo).
Then, to make it look nice, customize the toolbar button and give it an image instead of having its title displayed. I recommend you grab the icon from the NVidia PerfHUD exe, convert it to a bitmap and use that.
原文:
http://my.opera.com/adelamro/blog/2008/06/30/using-nvidia-perfhud-from-within-visual-studio
- Using NVidia PerfHUD from within Visual Studio
- NVIDIA PerfHUD ES
- 在任意程序上使用NVIDIA PerfHUD
- 用Nvidia的PerfHud剖析《寻仙》
- Using GDB in Visual Studio
- perfhud
- NVIDIA® NSIGHT™ VISUAL STUDIO EDITION 3.0 CUDA PREVIEW
- Using gcc within Windows
- Refactoring C# Code Using Visual Studio 2005
- Some tips for using visual studio .net
- Using the Microsoft Visual Studio 2005 Debugger
- Using LINQ in Visual Studio 2005
- Remote debug using Visual Studio 2005
- Using Database Features in Visual Studio
- Using Visual Studio with Open CASCADE
- (Visual Studio) Part 3: Using Breakpoints Effectively
- For CImage Library using visual studio 2010
- Accessing DDK Help from Visual Studio
- 转载 ORACLE 触发器
- Python 正则表达式(模式匹配)
- 走马灯(学习笔记)
- iPhone企业应用实例分析之一:系统介绍和需求及主要用例
- TextView中显示HTML和图片
- Using NVidia PerfHUD from within Visual Studio
- 大端小端存储模式以及其对Union数据类型的影响
- Assume指令解析
- OTL技术应用(转)
- JavaScript判断浏览器类型及版本
- 手把手教你把Vim改装成一个IDE编程环境(图文)
- 解决sql2000安装出现错误的绝招
- Computer Science Conference Rankings
- OTL技术应用(转)