forked from Imagelibrary/rtems
2008-12-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
* user/cpuuse.t: Reflect change in CPU Usage report format.
This commit is contained in:
@@ -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>
|
2008-12-15 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* user/init.t: Eliminate pointers to API configuration tables in the
|
* user/init.t: Eliminate pointers to API configuration tables in the
|
||||||
|
|||||||
@@ -61,20 +61,23 @@ The following is an example of the report generated:
|
|||||||
|
|
||||||
@example
|
@example
|
||||||
@group
|
@group
|
||||||
CPU Usage by thread
|
-------------------------------------------------------------------------------
|
||||||
ID NAME TICKS PERCENT
|
CPU USAGE BY THREAD
|
||||||
0x04010001 IDLE 0 0.000
|
------------+----------------------------------------+---------------+---------
|
||||||
0x08010002 TA1 1203 0.748
|
ID | NAME | SECONDS | PERCENT
|
||||||
0x08010003 TA2 203 0.126
|
------------+----------------------------------------+---------------+---------
|
||||||
0x08010004 TA3 202 0.126
|
0x04010001 | IDLE | 0 | 0.000
|
||||||
|
0x08010002 | TA1 | 1203 | 0.748
|
||||||
Ticks since last reset = 1600
|
0x08010003 | TA2 | 203 | 0.126
|
||||||
|
0x08010004 | TA3 | 202 | 0.126
|
||||||
Total Units = 1608
|
------------+----------------------------------------+---------------+---------
|
||||||
|
TICKS SINCE LAST SYSTEM RESET: 1600
|
||||||
|
TOTAL UNITS: 1608
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
@end group
|
@end group
|
||||||
@end example
|
@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
|
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
|
usage. When a task is context switched into the CPU, the number
|
||||||
of clock ticks it has executed is incremented. While the task
|
of clock ticks it has executed is incremented. While the task
|
||||||
|
|||||||
Reference in New Issue
Block a user