mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-10-06 10:59:48 +08:00
Thirty-five files across the device drivers, the event recording, the debugger interfaces, the flattened device tree support and several small libraries had no Doxygen block. Doxygen listed none of them. Give each file a block with @file, @ingroup and @brief. The brief names what the file implements. The score/cpu ports and the shell still lack their blocks. Later commits add them. Updates #5717. Assisted-by: Claude:claude-opus-5 claude-code Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
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.