--- title: Lab5: RTOS modifications toc: no ... 預期目標 ------- * 搭配`第五周`_課程進度 Code Coverage -------------- - GNU code coverage tool `gcov`_ is generally used to dump the coverage data when the program exits * for some embedded systems or for server processes you need a means to dump coverage data of particular situations, i.e. when a client connects. - Code quality analysis for embedded systems * Memory management with Valgrind * Code coverage testing with Gcov - `Code Quality Analysis Toolset for Embedded Systems`_ - `Dumping gcov data at runtime - a simple example`_ - `Using gcov and lcov`_