C/C++의 Call Stack, 메모리 사용

kldp

* call stack 추적
$ info libc backtrace

* 메모리 추적
– valgrind:
$ valgrind –tool=memcheck -v –leak-check=yes –show-reachable=yes a.out

– memusage:
$ memusage a.out

Similar Posts:

Post a Comment

Your email is never published nor shared.