摘要: 1. Overview工作以后,发现公司里的开发模式是,很多人共享一台服务器,然后使用Putty远程登录开发。这样很多工具(如build toolchain)就可以在服务器上只安装一份,省去了每个人单独安装一份的时间。另一方面,可以让所有开发人员使用统一的版本的工具,避免了潜在的版本不兼容的风险。使... 阅读全文
posted @ 2014-12-26 18:29 xjs_xjtu 阅读(505) 评论(0) 推荐(0)
摘要: The conclusion is:NEON intrinsics support converting a float data type to int32 regarding a Q value. The reverse is also supported.Neon intrinsics alr... 阅读全文
posted @ 2014-11-26 11:11 xjs_xjtu 阅读(1450) 评论(0) 推荐(0)
摘要: OverviewWe can get SegFault by several reasons:aligned access to unaligned memory(usally see in ARM NEON)cross-border accessint temp[2] = {0};temp[2] ... 阅读全文
posted @ 2014-09-05 16:44 xjs_xjtu 阅读(664) 评论(0) 推荐(0)
摘要: 一个静态库(.a),或者 可执行文件(动态链接库没试过),可以使用下面的命令查询:一、有哪些符号:Linux平台(包括armcc和gcc编译的二进制文件):nm file_name二、反汇编:GCC编译的二进制: objdump -D file_namearmcc编译的二进制:fromelf -c ... 阅读全文
posted @ 2014-08-23 15:37 xjs_xjtu 阅读(721) 评论(0) 推荐(0)
摘要: 一,代码示例 1 #include 2 3 void* memleak1(); 4 void* memleak2(); 5 6 int main() 7 { 8 void *p1 = memleak1(); 9 void *p2 = memleak2();10 11 p... 阅读全文
posted @ 2014-08-23 15:30 xjs_xjtu 阅读(1165) 评论(0) 推荐(0)
摘要: Conclusion:Cortex-A9 are widely used before 2012(include 2012).Cortex-A15 and Krait 400 nearly ocupy the high-level mobile devices market since 2013(i... 阅读全文
posted @ 2014-08-20 09:33 xjs_xjtu 阅读(272) 评论(0) 推荐(0)
摘要: 1. OverviewAssume you know nothing about the source code in detal, but you have a test/profile case in your hand. How can you find the hotspot in 10 m... 阅读全文
posted @ 2014-08-05 22:40 xjs_xjtu 阅读(455) 评论(0) 推荐(0)
摘要: 1. Installsudo apt-get install valgrind2. If memory leakexample code:/* memleak.c */#include void* memleak(int n){ void *p = malloc(n); return p... 阅读全文
posted @ 2014-08-05 22:21 xjs_xjtu 阅读(537) 评论(0) 推荐(0)
摘要: 工作以后陆陆续续用过一些Python,今天花时间系统的看了下入门书籍《简明Python教程》(A Byte of Python)。零、Eclipse安装PyDevEclipse --> Help --> Install New Software --> http://pydev.org/update... 阅读全文
posted @ 2014-08-03 18:51 xjs_xjtu 阅读(338) 评论(0) 推荐(0)
摘要: 一、安装此处以Ubuntu12.04为例:$ sudo apt-get install ipython python-matplotlib python-numpy二、简单实例>>> import matplotlib.pyplot as plt>>> >>> plt.figure(1) ... 阅读全文
posted @ 2014-08-01 18:22 xjs_xjtu 阅读(774) 评论(0) 推荐(0)