IBM rational software package provides multiple tools to met various requirements like memory leak detection, code coverage, profiling etc. For the memory leak detection purify is used, for code coverage purecov is used and for profiling purposes quantify tool is used. Please follow the steps listed down:
1. $quantify gcc <file.c>
2. $./a.out
3. $quantify -view a.out.*.qv
By using command mentioned in step no.3, a graphical view is prompted at the top of screen.