自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(3)
  • 资源 (1)
  • 收藏
  • 关注

原创 计算机相关试题

<br /> <br /> <br />gcc pushes the arguments in a particular order. What is the order and why?<br /> <br />Answer: gcc pushes arguments in reverse order, last argument first. Because the stack grows down on the x86 (and PDP-11), this means that the first a

2011-02-27 21:26:00 378

转载 C 程序性能优化

<br />      一段c程序,功能开发完成,开始性能优化。<br />       当然是先用 -pg 编译,再gprof看“热点”在哪里,很快找到,是计算hash值的函数,于是换了个更快的hash函数——fnv (http://isthe.com /chongo/tech/comp/fnv/),速度提高了一些。接着把该hash函数内联(inline),程序又快了一些。内联函数不是解决性能问题的灵丹妙药,因为inline之后gprof就看不到该函数的调用情况,也就不好找真正的性能瓶颈了。<br /><

2011-02-27 19:34:00 696

转载 6 Stages of Linux Boot Process (Startup Sequence)

<br />http://www.thegeekstuff.com/2011/02/linux-boot-process/<br /> <br />Press the power button on your system, and after few moments you see the Linux login prompt.<br />Have you ever wondered what happens behind the scenes from the time you press the po

2011-02-13 15:00:00 887

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除