Profile:
1.安装valgrind 跟kcachegrind
2.跑profile跟读result
$ sudo apt-get install valgrind
$ sudo apt-get install kcachegrind
$ sudo apt-get install kcachegrind
$ valgrind --tools=callgrind ./yourExe
$ kcachegrind callgrind.out.xxx
$ kcachegrind callgrind.out.xxx
0 comments:
Post a Comment