forked from Imagelibrary/rtems
2007-03-08 Joel Sherrill <joel@OARcorp.com>
* user/Makefile.am, user/stackchk.t: Change dump usage to report usage.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2007-03-08 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
|
* user/Makefile.am, user/stackchk.t: Change dump usage to report usage.
|
||||||
|
|
||||||
2007-03-06 Joel Sherrill <joel@OARcorp.com>
|
2007-03-06 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
* ada_user/Makefile.am, ada_user/ada_user.texi: Ada API manual now
|
* ada_user/Makefile.am, ada_user/ada_user.texi: Ada API manual now
|
||||||
|
|||||||
@@ -170,7 +170,7 @@ stackchk.texi: stackchk.t
|
|||||||
-n "CPU Usage Statistics" < $< > $@
|
-n "CPU Usage Statistics" < $< > $@
|
||||||
|
|
||||||
cpuuse.texi: cpuuse.t
|
cpuuse.texi: cpuuse.t
|
||||||
$(BMENU2) -p "Stack Bounds Checker stack_checker_dump_usage - Report Task Stack Usage" \
|
$(BMENU2) -p "Stack Bounds Checker stack_checker_report_usage - Report Task Stack Usage" \
|
||||||
-u "Top" \
|
-u "Top" \
|
||||||
-n "Directive Status Codes" < $< > $@
|
-n "Directive Status Codes" < $< > $@
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ by the stack bounds checker manager are:
|
|||||||
|
|
||||||
@itemize @bullet
|
@itemize @bullet
|
||||||
@item @code{@value{DIRPREFIX}stack_checker_initialize} - Initialize the Stack Bounds Checker
|
@item @code{@value{DIRPREFIX}stack_checker_initialize} - Initialize the Stack Bounds Checker
|
||||||
@item @code{@value{DIRPREFIX}stack_checker_dump_usage} - Report Task Stack Usage
|
@item @code{@value{DIRPREFIX}stack_checker_report_usage} - Report Task Stack Usage
|
||||||
@end itemize
|
@end itemize
|
||||||
|
|
||||||
@section Background
|
@section Background
|
||||||
@@ -88,7 +88,7 @@ to define the macro @code{STACK_CHECKER_ON} before including
|
|||||||
@subsection Reporting Task Stack Usage
|
@subsection Reporting Task Stack Usage
|
||||||
|
|
||||||
The application may dynamically report the stack usage for every task
|
The application may dynamically report the stack usage for every task
|
||||||
in the system by calling the @code{@value{DIRPREFIX}stack_checker_dump_usage} routine.
|
in the system by calling the @code{@value{DIRPREFIX}stack_checker_report_usage} routine.
|
||||||
This routine prints a table with the peak usage and stack size of
|
This routine prints a table with the peak usage and stack size of
|
||||||
every task in the system. The following is an example of the
|
every task in the system. The following is an example of the
|
||||||
report generated:
|
report generated:
|
||||||
@@ -164,13 +164,13 @@ This is performed automatically the first time the stack bounds checker
|
|||||||
task create extension executes.
|
task create extension executes.
|
||||||
|
|
||||||
@page
|
@page
|
||||||
@subsection stack_checker_dump_usage - Report Task Stack Usage
|
@subsection stack_checker_report_usage - Report Task Stack Usage
|
||||||
|
|
||||||
@subheading CALLING SEQUENCE:
|
@subheading CALLING SEQUENCE:
|
||||||
|
|
||||||
@ifset is-C
|
@ifset is-C
|
||||||
@example
|
@example
|
||||||
void rtems_stack_checker_dump_usage( void );
|
void rtems_stack_checker_report_usage( void );
|
||||||
@end example
|
@end example
|
||||||
@end ifset
|
@end ifset
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user