summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/cpuuse/README
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-05-21 20:28:02 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-05-21 20:28:02 +0000
commite49e84c9abd9a67d92fd12ab18794ed1d809f70c (patch)
tree0dbb7794e3e764fb09123b94d7d2e1d913b60e38 /cpukit/libmisc/cpuuse/README
parent2007-05-21 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-e49e84c9abd9a67d92fd12ab18794ed1d809f70c.tar.bz2
2007-05-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/Makefile.am, libmisc/cpuuse/README: Split remaining CPU Usage functionality into multiple files to eliminate unnecessary cohesion. Update README. * libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c: New files. * libmisc/cpuuse/cpuuse.c: Removed.
Diffstat (limited to 'cpukit/libmisc/cpuuse/README')
-rw-r--r--cpukit/libmisc/cpuuse/README15
1 files changed, 11 insertions, 4 deletions
diff --git a/cpukit/libmisc/cpuuse/README b/cpukit/libmisc/cpuuse/README
index bd3cc55e34..ac674bb0b6 100644
--- a/cpukit/libmisc/cpuuse/README
+++ b/cpukit/libmisc/cpuuse/README
@@ -2,13 +2,20 @@
# $Id$
#
-This directory contains a CPU usage reported. It provides two
-primary features:
+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.
- + provides an educated guess at each task's CPU usage
+It provides two primary features:
+
+ + Generate a CPU Usage Report
+ + Reset CPU Usage Information
NOTES:
-1. CPU usage is "docked" by a clock tick at each context switch.
+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.