mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
Add "(void) param;" annotation to address unused parameter warnings. Found with GCC's warning -Wunused-paramter. libmisc/shell was in a previous patch.
cpuuse
This directory contains code to report and reset per-task CPU usage. If the BSP supports nanosecond timestamp granularity, this this information is very accurate. Otherwise, it is dependendent on the tick granularity.
It provides two primary features:
- Generate a CPU Usage Report
- Reset CPU Usage Information
NOTES:
- If configured for tick granularity, CPU usage is "docked" by a clock tick at each context switch.
- If configured for nanosecond granularity, no work is done at each clock tick. All bookkeeping is done as part of a context switch.