摘要: 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)