2011-05-08

profile & 版本控管

Profile:

1.安装valgrind 跟kcachegrind
$ sudo apt-get install valgrind
$ sudo apt-get install kcachegrind

2.跑profile跟读result
$ valgrind --tools=callgrind ./yourExe
$ kcachegrind callgrind.out.xxx

0 comments: