版本 a60e7f8bc42c2be836884824fbe2bae04b46e570
Changes from a60e7f8bc42c2be836884824fbe2bae04b46e570 to a3e612f503bb8e219bfbeb698edfab1e785b8a10
---
title: Lab5: RTOS modifications
toc: no
...
預期目標
-------
* 搭配`第五周</embedded/2012w4>`_課程進度
Code Coverage
--------------
- GNU code coverage tool `gcov<http://gcc.gnu.org/onlinedocs/gcc/Gcov.html>`_ 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<http://www.eclipsecon.org/2008/sub/attachments/Code_Quality_Analysis_Toolset_for_Embedded_Systems.pdf>`_
- `Dumping gcov data at runtime - a simple example<https://www.osadl.org/fileadmin/dam/interface/docbook/howtos/coverage.pdf>`_