CSE306 Software Quality in Practice
- Dr. Carl Alphonce
CSE306 Software Quality in Practice Dr. Carl Alphonce - - PowerPoint PPT Presentation
CSE306 Software Quality in Practice Dr. Carl Alphonce alphonce@buffalo.edu 343 Davis Hall LEX13 file size Data files should not have been included - I forgot that file00 was quite large. I believe you all submitted via private post in
instrumentation vs simulation
gcov and gprof - instrumentation approach
executable to gather runtime data
Valgrind - simulation approach
more human-readable output is produced by compiling with -g flag)
environment
"val-grinned" - the gate to Valhalla
A suite of tools (see http:/ /valgrind.org/info/tools.html) Memcheck "detects memory-management problems" Cachegrind "is a cache profiler" Callgrind "is an extension to Cachegrind. It provides all the information that Cachegrind does, plus extra information about callgraphs." Massif "is a heap profiler" Helgrind "is a thread debugger which finds data races in multithreaded programs" DRD "is a tool for detecting errors in multithreaded C and C++ programs"