- 博客(13)
- 收藏
- 关注
转载 makefile传参到src和互传 & review
makefile传参数到C++中 www.diybl.com 时间 : 2011-08-09 作者:网络 编辑:hawk 点击: 18 [ 评论 ] 从makefile中传参数到C++中的最初需求是为了能够在程序-v查看的时候显示程序的编
2011-10-12 10:40:50 1717
转载 随机发生器
已知一随机发生器,产生0的概率是p,产生1的概率是1-p,现在要你构造一个发生器,使得它构造0和1的概率均为1/2;构造一个发生器,使得它构造1、2、3的概率均为1/3;...,构造一个发生器,使得它构造1、2、3、...n的概率均为1/n,要求复杂度最低。 首
2011-10-12 10:34:22 1114
原创 booooook
Embbed Multi-Core Understanding the Linux Kernel Understanding Linux Virtual Memory Professional Linux Kernel Architecture Linux
2011-10-11 19:38:18 492
原创 memory debug
▪DynamicMemory Functions ▪MEMWATCH ▪YAMD ▪ElectricFence ▪Valgrind ▪Summary ▪WebResources for Memory Checkers
2011-10-11 19:36:17 404
原创 debug and tunning
linux debugging and performance tunning LTT linux trace toolkits for summery date;ps;date time 命令可以用来测量实际运行的时间 gettime
2011-10-11 19:10:14 418
debug and tunning
linux debugging and performance tunning date;ps;date time 命令可以用来测量实际运行的时间 gettimeofday return seconds and microseconds p
2011-10-11 19:00:55 173
原创 Pro linux embedded system(TBD)
how to reduce rootfs size how to speed up boot time arm-linux-size bloat-o-meter
2011-10-11 18:59:47 466
原创 udev update
udev扫描sys? 不可能把,udev uevent? 都是正确的, 4.2 Udevd如何监控规则文档的变更 假如内核版本足够新的话,在规则文档发生变化的时候,udev也能够自动的重新应用这些规则,这得益于内核的inotify机制, inotify
2011-10-11 15:33:54 407
原创 Latency
什么叫实时操作系统 Not fast just preditable study lock, and write the table study the ip related knowledge ▪A system is real timewhen
2011-10-11 14:51:56 588
原创 memory deepinto
memory 这块的匿名页面之前只是了解means no file-backup 现在又阅读了一些文章,有些比较深入的了解。 annoymous means the page used by less more user, because what the annoymous
2011-10-11 13:55:02 472
原创 cisco面试记录
cisco是我比较中意的公司之一 今天去面试 主要问了如下问题 main函数可以是内联的么 内联函数和宏的区别 系统态和内核态的区别以及转换 有个竟然没有答上来,就是Malloc free的时候如何知道要free多少。 这个在回屋子的路上想起来了。 d
2011-10-09 21:43:59 472
转载 fork sample
printf("AAAAAAAA");//print 一次; 这里会print 2次 如果你将 printf("AAAAAA") 换成 printf("AAAAAA\n") 那么就是只打印一次了. 主要的区别是因为有了一个 \n 回车符号 这就跟Printf的缓冲
2011-10-06 10:21:56 403
原创 匿名页面
匿名页面一般指的是user thread中的stack and heap, which means no file back up. 比页面缓存要活跃一些 mem shrink的时候会用到这些 thrashing 颠簸 为了节省页表空间提出反向页表的
2011-10-05 15:37:17 1123
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人