Profiling Memory with Valgrind [1]
PUBLISHED
Valgrind is a memory profiling tool, which can detect memory errors and memory leaks in an application. The Valgrind tool consists of a core module and various debugging and profiling tools. For more information, see the Valgrind User Manual [2].
Tizen Studio supports the following tools:
- Memcheck
Memcheck is a default tool that detects memory errors, memory leaks, incorrect freeing of memory, and usage of undefined or uninitialized values.
- Massif
Massif is a heap profiler to measure the amount of memory your program uses.
Tizen Studio provides the interface for running Valgrind with your application [3] easily. After performance profiling is terminated, you can see the profiling result [4] and use it for improving performance.