- 博客(9)
- 收藏
- 关注
翻译 缓存数据预取(Cache Prefetching Overview)
本文为半翻译文(非直译,多数理解为主),主旨在于理解缓存预取机制,以便提高缓存效率Even programs with good data locality will now and then have to access a cache line that is not in the cache, and will then stall until the data has
2015-01-07 14:50:15 9617
原创 pygraphviz 画图使用笔记
本文本人在使用过程中遇到的问题,仅作为个人笔记1 如何指定画图中的点的相对坐标 node attribute “pos”import pygraphviz as pgv A=pgv.AGraph() (x,y)=(0,0)#增加四个点1 2 3 4A.add_node(1)A.add_node(2)A.add_node(3)A.add_node(4)
2015-01-07 14:33:43 1065
原创 PAPI:使用PAPI对程序进行性能分析(1)
PAPI 是非常好的性能测试工具,使用十分方便。对于分析程序的性能提供很好的依据。下面对使用PAPI 做一个小结。(1)Build PAPI on Linux在PAPI主站上下载最新的tar包,解压缩,然后进入到papi文件夹下的src文件夹下:./configure–prefix=${PAPI_HOME}makemake testmake install设
2012-12-26 22:18:34 4390
原创 Git搭建Linux和Windows分布式工作环境
下面记录的内容呢只是平时工作中的小经验。我的工作环境是,我需要在自己的windows机器上修改代码,上传到Linux进行编译,运行测试。不可能保证每天的提交的的代码都是正确的,又由于我是研究的,方案经常变化,所以需要一个私人Git 仓库,提交自己的想法和代码。环境: Linux一般都支持ssh, windows 安装Git Git downloadCase 1: 需要
2012-11-09 16:06:58 904 1
翻译 Blocking vs. Non-Blocking Sockets 阻塞与非阻塞式套接字
原文:http://www.developerfusion.com/article/28/introduction-to-tcpip/8/ 当你开发Windows 套接字应用程序时,你会遇到的第一个问题就是,阻塞式和非阻塞式套接字的区别。当你在套接字上执行某一操作时,有可能不能马上得完成该操作并且返回到主程序。例如,当你在套接字上读取时数据时,直到数据被远程主机发送回来才能完成这
2009-04-16 13:24:00 1059
原创 ACE 简单常用类整理(二)
文件(设备)处理相关类w ACE_IO_SAPMethod Description int control (int cmd, void *) const Interface for ioctl. ACE_OS:: ioctl(HANDLE, cmd, arg). More refer to the ioc
2009-03-03 16:14:00 1181
原创 ACE 简单常用类整理(一)
面向连接的相关类 表1 面向连接的相关类 ACE Class Description ACE_Addr The root of the ACE network addressing hierarchy. ACE_INET_Addr Encapsulates the Internet-do
2009-03-02 18:00:00 1070
翻译 Design Pattern -- Template Method Pattern(一)
模板方法设计模式是行为设计模式(Behavioral Patterns)的一种。 IntentDefine the skeleton of an algorithm in an operation, deferring somesteps to subclasses. Template Method lets subclasses redefinecertain steps of
2009-03-01 15:29:00 588
原创 Building ACE Development Enviromen
Build ACE Development Enviroment Many documents and the http://www.cs.wustl.edu/~schmidt/ACE-install.html have very detailed introduction of how to build ace package. I will give a guidline
2009-02-24 21:30:00 736
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人