Files
rtems/cpukit/libmisc/cpuuse
Chris Johns 020b094c5f libmisc/cpuuse: Fix thread names in top
- Show classic and POSIX thread names working around the mess we now
  have with the name management in threads

Closes #5637
2026-07-09 09:22:33 +10:00
..
2026-02-05 09:49:37 -06:00

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:

  1. If configured for tick granularity, CPU usage is "docked" by a clock tick at each context switch.
  2. If configured for nanosecond granularity, no work is done at each clock tick. All bookkeeping is done as part of a context switch.