User`s guide

Implicit DSP/BIOS Instrumentation
Instrumentation 3-23
The host uploads the STS objects from the target at the polling rate set in the
RTA Control Panel Property Page. The information contained in IDL_busyObj
is used to calculate the CPU load. The IDL_busyObj count provides a
measure of N (the number of times the idle loop ran). The IDL_busyObj
maximum is not used in CPU load calculation. The IDL_busyObj total
provides the value T in units of the high-resolution clock.
To calculate the CPU load you still need to know l
1
(the number of instruction
cycles spent in the idle loop). When the Auto calculate idle loop instruction
count box is checked in the Idle Function Manager in the Configuration Tool,
DSP/BIOS calculates l
1
at initialization from BIOS_init.
The host uses the values described for N, T, l
1
, and the CPU MIPS to
calculate the CPU load as follows:
3.4.3 Hardware Interrupt Count and Maximum Stack Depth
You can track the number of times an individual HWI function has been
triggered by using the Configuration Tool to set the monitor parameter for an
HWI object to monitor the stack pointer. An STS object is created
automatically for each hardware ISR that is monitored as shown in Figures
3-11 and 3-12.
Figure 3-11. Monitoring Stack Pointers (C5000 platform)



---------

IVT
00 : br isr
0
02 : br isr
1
2n : br isr
n
isr
0
isr
1
isr
n
IVT
00 : br isr
0
02 : br stub
1
2n : br isr
n
isr
0
stub
1
isr
n
isr
1
Default Configuration Monitoring isr
1