summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-12-18 15:26:09 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-12-18 15:26:09 +0000
commit8fbb48a68a277e8c57562bd405235501d49d3b7e (patch)
tree849c982698827a8c8efc68380621ff389b43179d /doc
parent2008-12-18 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff)
downloadrtems-8fbb48a68a277e8c57562bd405235501d49d3b7e.tar.bz2
2008-12-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
* user/cpuuse.t: Reflect change in CPU Usage report format.
Diffstat (limited to 'doc')
-rw-r--r--doc/ChangeLog4
-rw-r--r--doc/user/cpuuse.t25
2 files changed, 18 insertions, 11 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog
index 80cc5b0ea7..24ca1baa33 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,7 @@
+2008-12-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+ * user/cpuuse.t: Reflect change in CPU Usage report format.
+
2008-12-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* user/init.t: Eliminate pointers to API configuration tables in the
diff --git a/doc/user/cpuuse.t b/doc/user/cpuuse.t
index 75f64b0488..a95361e778 100644
--- a/doc/user/cpuuse.t
+++ b/doc/user/cpuuse.t
@@ -61,20 +61,23 @@ The following is an example of the report generated:
@example
@group
-CPU Usage by thread
- ID NAME TICKS PERCENT
-0x04010001 IDLE 0 0.000
-0x08010002 TA1 1203 0.748
-0x08010003 TA2 203 0.126
-0x08010004 TA3 202 0.126
-
-Ticks since last reset = 1600
-
-Total Units = 1608
+-------------------------------------------------------------------------------
+ CPU USAGE BY THREAD
+------------+----------------------------------------+---------------+---------
+ ID | NAME | SECONDS | PERCENT
+------------+----------------------------------------+---------------+---------
+ 0x04010001 | IDLE | 0 | 0.000
+ 0x08010002 | TA1 | 1203 | 0.748
+ 0x08010003 | TA2 | 203 | 0.126
+ 0x08010004 | TA3 | 202 | 0.126
+------------+----------------------------------------+---------------+---------
+ TICKS SINCE LAST SYSTEM RESET: 1600
+ TOTAL UNITS: 1608
+-------------------------------------------------------------------------------
@end group
@end example
-Notice that the "Total Units" is greater than the ticks per reset.
+Notice that the "TOTAL UNITS" is greater than the ticks per reset.
This is an artifact of the way in which RTEMS keeps track of CPU
usage. When a task is context switched into the CPU, the number
of clock ticks it has executed is incremented. While the task