Changes between Version 7 and Version 8 of jazz/11-05-04
- Timestamp:
- May 4, 2011, 3:05:03 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
jazz/11-05-04
v7 v8 16 16 ~/velvet_1.1.03$ ./velvetg output/ -exp_cov 3 -min_contig_lgth 100 17 17 }}} 18 * <參考#1> [http://blog.dccmx.com/2011/01/gprof/ 讓程序飛 之 性能工具: gprof & gprof2dot] 19 * <參考#2> [http://blog.dccmx.com/2011/01/valgrind-memcheck/ 讓程序飛 之 內存工具: valgrind –tool=memcheck] 20 * <參考#3> [http://blog.dccmx.com/2011/01/valgrind-massif/ 讓程序飛 之 內存工具: valgrind –tool=massif & massif-visualizer] 21 * <參考#4> [http://blog.dccmx.com/2011/01/callgrind/ 讓程序飛 之 性能工具: valgrind –tool=callgrind & kcachegrind] 18 22 * 使用 [http://packages.debian.org/valgrind valgrind] 來進行記憶體分析 - (1) Memory Leak 分析 19 23 {{{ … … 23 27 }}} 24 28 * 使用 [http://packages.debian.org/valgrind valgrind] 的 [http://valgrind.org/docs/manual/ms-manual.html Massif] 工具來進行記憶體分析 - (2) Memory Usage 分析 25 * Valgrind's skin Massif ('valgrind --tool=massif application') traces memory usage of the application.[http://ktown.kde.org/~seli/memory/analysis.html 參考 #1]29 * Valgrind's skin Massif ('valgrind --tool=massif application') traces memory usage of the application.[http://ktown.kde.org/~seli/memory/analysis.html 參考來源] 26 30 {{{ 27 31 ~/velvet_1.1.03$ valgrind --tool=massif ./velveth output 17 -fasta -short data/test_long.fa … … 116 120 * 使用 gprof 進行 profile 分析 117 121 {{{ 118 ~/velvet_1.1.03$ cat Makefile | sed "s#^CFLAG.*#CFLAGS = -Wall -pg#" > 122 ~/velvet_1.1.03$ cat Makefile | sed "s#^CFLAG.*#CFLAGS = -Wall -pg#" > Makefile.new 119 123 ~/velvet_1.1.03$ mv Makefile.new Makefile 120 124 ~/velvet_1.1.03$ make