Back to home page

LXR

 
 

    


Warning, /cpukit/libmisc/cpuuse/README.md is written in an unsupported language. File is not indexed.

0001 cpuuse
0002 ======
0003 
0004 This directory contains code to report and reset per-task CPU usage.
0005 If the BSP supports nanosecond timestamp granularity, this this information
0006 is very accurate.  Otherwise, it is dependendent on the tick granularity. 
0007 
0008 It provides two primary features:
0009 
0010   + Generate a CPU Usage Report
0011   + Reset CPU Usage Information
0012 
0013 NOTES:
0014 
0015 1.  If configured for tick granularity, CPU usage is "docked" by a
0016     clock tick at each context switch.
0017 2.  If configured for nanosecond granularity, no work is done at each
0018     clock tick.  All bookkeeping is done as part of a context switch.
0019 
0020