Added gcov support
Imported sources from LESIA (thanks!)
Added CMake option Coverage to enable code coverage on LFR and link with modified
libgcov
Added target to build html reports
Removed all remaining unused macros and fixed bug
There was two numbers to set the FSW number of tasks NB_OF_TASKS and CONFIGURE_MAXIMUM_TASKS while
CONFIGURE_MAXIMUM_TASKS = NB_OF_TASKS + 1
Fixed again CPU usage measurement
Previous fix was still wrong, now we call all the time rtems_cpu_usage_reset
to only get stats since last measurement.
All previous versions were also wrong since they use to send cpu usage with
100=100% instead of 255=100%.
Fixed CPU usage measurement, implemented CPU load AVG
- now CPU usage is computed between now and last call, not anymore since last
CPU reset.
- AVG is computed on last 60 measurements -> 60 seconds. It's a simple average.