一无所知

世界如此之大,世界又如此之小!我什么都不知,只知我一无所知!

用户操作
[留言]  [发消息]  [加为好友] 
订阅我的博客
XML聚合    FeedSky
订阅到鲜果
订阅到Google
订阅到抓虾
Caviler的公告
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> <script type="text/javascript"> _uacct = "UA-400056-1"; urchinTracker(); </script> <center> <marquee direction="up" height=34px scrolldelay=170 scrollamount=2> <center> <font color=green> 主要是技术类文章和新闻<br> 内容按<a href="http://www.creativecommons.cn/licenses/by-nc-sa/1.0/">创作共用</a>方式授权<br> 如侵犯了您的权利请告之! </font> </center></marquee> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="170" height="170" align="middle"> <param name="movie" value="http://bbs.smgbb.cn/skins/default/clock.swf"> <param name="quality" value="high"> <param name="wmode" value="transparent"> </object> <table border=0 cellpadding=0 cellspacing=0 height=24px> <tr valign=middle> <td align=right> &nbsp;&nbsp;<a href="http://sm5.sitemeter.com/stats.asp?site=sm5caviler" target="_top"><img src="http://sm5.sitemeter.com/meter.asp?site=sm5caviler" alt="访问统计" border="0"/></a> </td> <td align=left> <a href="http://sm5.sitemeter.com/stats.asp?site=sm5caviler" target="_top"> <IMG SRC="http://blog.csdn.net/images/blog_csdn_net/caviler/77319/o_sitemetter.gif" border="0" ALT="访问统计"</A> </td> </tr></table> <font color=green> 我正在看的书和电影: </font> <script type="text/javascript" src="http://www.douban.com/service/badge/Caviler/?show=collection&select=random&n=8&columns=2&hidelogo=yes" ></script> <script language="javascript"> var oTop = document.getElementById("top"); if(oTop != null) { oTop = oTop.children(0) if(oTop != null) { oTop.innerHTML = '<table width="100%"><tr><td class="HeaderTitles" width="483">' + '<h1><a id="Header1_HeaderTitle" class="headermaintitle" href="http://blog.csdn.net/caviler/">一无所知</a></h1>' + '<p id="tagline">世界如此之大,世界又如此之小!我什么都不知,只知我一无所知!</p></td>' + '<td class="" align="right" valign="top">' + '<table border=0 cellpadding=0 cellspacing=0 height=24px>' + '<tr valign=middle><td align=right>' + '<a title="管理入口" href="http://writeblog.csdn.net/default.aspx"><img height="22" alt="管理入口" border=0 src="http://blog.csdn.net/images/blog_csdn_net/caviler/77319/o_admin.gif" width="22"></a>&nbsp;&nbsp;' + '<a title="RSS 订阅" href="http://blog.csdn.net/caviler/rss.aspx"><img height="22" alt="RSS 订阅" border=0 src="http://blog.csdn.net/images/blog_csdn_net/caviler/77319/o_xml.gif" width="22"></a>&nbsp;&nbsp;' + '<a href="http://osi.hshh.org:8088/message/msn/iyft@hotmail.com"><img src="http://osi.hshh.org:8088/msn/iyft@hotmail.com" border="0" ALT="MSN 在线状态" onerror="this.onerror=null;this.src=\'http://osi.hshh.org/msnunknown.gif\';"></a>' + '</td></tr>' + '<tr valign=middle><td align=right>' + '<a href="http://www.creativecommons.cn/licenses/by-nc-sa/1.0/"><img alt="创作共用许可" src="http://blog.csdn.net/images/blog_csdn_net/caviler/77319/o_somerights.gif" border="0"></a></td>' + '</td></tr></table></td></tr></table>'; } } var oNews = document.getElementById("leftmenu"); if(oNews != null) { oNews = oNews.children(0) if(oNews != null) { oNews.innerHTML = ''; } } </script> </center>
文章分类
编程手册
RFC(中文)
RFC(中文)
常用工具
Furl
Messenger
RFC(中文)
万年日历
常用站点
developerWorks
Gmail
Google Groups
Orkut
Wallop
搜索引擎
百科全书
网站历史
技术站点
CodeProject
Eclipse
RIA
我的链接
52Blog
CNDEV Blog
Wallop Blog
个人主页
我的位置
友情链接
kwebnet
社会性软件(RSS)
最新消息
Code Project
存档

原创  Intel VTune 入门(01) 收藏

最近有几个程序的性能很成问题,所以做了一些调试方面的工作,主要工具就是 Intel VTune Performance Analyzer。

VTune 的门槛比较高,上手很慢。摸索着用了用找了几本相关的书:










书还没买到,到网上找了找资料,看看帮助和示例,自己琢磨着用用。

1. 开始时运行小程序没有问题,但是一旦运行时间比较长的程序,程序就会自动退出
后来仔细看了一下 VTune 中的配置参数,在 Activity 的属性页中发现一个 Duration 参数,缺省是 20 秒,程序长于 20 秒就自动关闭了,呵呵:

Advanced Activity Configuration Dialog Box

Duration

Enter the number of seconds that you want the Activity to run and collect data. The Duration value includes any delay time specified for a collector. By default, the duration is 20 seconds.

To proceed with data collection until the application terminates, specify a Duration value that is larger than or corresponds to the amount of time you estimate your application will run.

To continue data collection until you manually stop it by clicking Stop Activity , enter 0.


把它设置成 0 (需要手动停止收集数据) 或 长于你程序的执行时间就可以了

发表于 @ 2009年01月13日 13:31:00 | 评论( loading... ) | 编辑| 举报| 收藏

旧一篇:Ruby on Rails 入门

  • 发表评论
  • 评论内容:
  •  
Copyright © Caviler
Powered by CSDN Blog