Files
rtems/cpukit/libmisc/cpuuse
Glenn Humphrey b0ac06f8e9 2007-10-26 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* libmisc/cpuuse/cpuusagereport.c, rtems/src/ratemonreportstatistics.c:
	Cleaned up reports and fixed a bug related the printf format which
	resulted in lack of leading zeroes and misleading magnitude.
	* score/src/timespecdivide.c: Fixed bugs related to zero divide case.
2007-10-26 21:30:59 +00:00
..

#
#  $Id$
#

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.