Implicit DSP/BIOS Instrumentation
3-34
Figure 3-7.
Calculating Used Stack Depth
3.6.3
Monitoring Variables
In addition to counting hardware interrupt occurrences and monitoring the
stack pointer, you can monitor any register or data value each time a
hardware interrupt is triggered.
This implicit instrumentation can be enabled for any HWI object. Such
monitoring is not enabled by default. The performance of your interrupt
processing is not affected unless you enable this type of instrumentation in
the configuration. The statistics object is updated each time hardware
interrupt processing begins. Updating such a statistics object consumes
between 20 and 30 instructions per interrupt for each interrupt monitored.
C
onf
ig
u
red St
ac
k
free
Low
Address
GBL_stackbeg
GBL_stackend
SP
Used
Stack
used stack depth = {GBL_stackend - min(SP)}
STS_add(--*addr) = min(SP)
High
Address
Содержание TMS320 Series
Страница 1: ...TMS320 DSP BIOS v5 40 User s Guide Literature Number SPRU423G April 2009 ...
Страница 16: ...xvi ...
Страница 152: ...Tasks 4 48 Figure 4 12 Trace from Example 4 7 ...
Страница 168: ...Semaphores 4 64 Figure 4 14 Trace Results from Example 4 11 ...
Страница 202: ...5 20 ...
Страница 287: ...Index 9 Index Void 1 11 W words data memory 3 15 of code 1 5 wrapper function 2 29 ...
Страница 288: ...Index 10 Index ...