ST20 STMICROELECTRONICS [STMicroelectronics], ST20 Datasheet - Page 14

no-image

ST20

Manufacturer Part Number
ST20
Description
ST20 software development and debugging tools
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ST20-CONNECT/WIN
Manufacturer:
ST
0
Company:
Part Number:
ST20-CONNECT/WIN
Quantity:
3
Part Number:
ST2000VX000
Manufacturer:
Seagate
Quantity:
1 500
Part Number:
ST2001AX
Manufacturer:
ST
0
Part Number:
ST2001CV2
Manufacturer:
ST
Quantity:
6 239
Part Number:
ST2001FX
Manufacturer:
ST
Quantity:
10 000
Part Number:
ST2001FX
Manufacturer:
ST
0
Part Number:
ST2001H1
Manufacturer:
ST
0
Part Number:
ST2001HI
Manufacturer:
ST
Quantity:
140
Part Number:
ST2001HI
Manufacturer:
ST
0
Part Number:
ST2001HI
Manufacturer:
ST
Quantity:
20 000
Part Number:
ST2007
Manufacturer:
TI
Quantity:
11
4
Three profiling tools are supplied for analyzing the behavior of application programs; the execution
profiler, the utilization monitor, and the test coverage and block profiling tool. The monitoring data is
stored in the target processor ’s memory, so the profiling tools have little execution overhead on the
application. After the program has completed execution, the monitoring data is extracted from the
processor and is analyzed to provide displays on the program execution.
The tools provided are the execution profiler, the utilization monitor, and the test coverage and block
profiling tool. The execution profiler estimates the time spent in each function and procedure, the
processor idle time and various other statistics. The utilization monitor displays a Gantt chart of the
CPU activity of the processor as time progresses. The test coverage and block profiling tool counts
how many times each block of code is executed.
4.1
The execution profiler gives an analysis of the total time spent executing each function on each
processor.
It provides the following information on program execution:–
The execution of the user program is monitored by a profiling kernel. The presence of the profiler
kernel will slow the execution of the program by less than 5%.
4.2
The utilization monitor shows in graphical form the utilization of the processor over the time of the
program execution. This is displayed by an interactive program that draws a chart of processor
ST20–SWC
14/21
Execution analysis tools
Execution profiler
The percentage time spent executing each low priority function.
The percentage time spent executing at high priority.
The percentage idle time of the processor.
The number of low priority calls of each function and where it was called from.
Utilization monitor
Processor ”Root”
Idle time 35.3% (19516)
High time 0.1% (37)
Wptr Misses 0
Iptr Misses 0
Resolution 4
-----------------------------------------------------------------------------
Process ”ex” (99.9% processor) (35.666s)
Stack 100.0% (35666)
Function Name
-----------------------------------------------------------------------------
libc.lib/getc
cc/pp.c/pp_rdch0
cc/bind.c/globalize_memo
cc/pp.c/pp_process
cc/pp.c/pp_rdch3
cc/pp.c/pp_rdch2
cc/pp.c/pp_rdch1
cc/pp.c/pp_rdch
cc/pp.c/pp_nextchar
cc/pp.c/pp_checkid
cc/lex.c/next_basic_sym
libc.lib/strcmp
libc.lib/DummySemWait
libc.lib/sub_vfprintf
Figure 10 Example output from the execution profiler
Heap 0.0% (0)
Static 0.0% (0)
|
| Process | Processor |Samples
|
|
|
|
|
|
|
|
|
|
|
|
|
11.4 |
10.1 |
6.9 |
4.3 |
4.2 |
3.9 |
3.8 |
3.5 |
3.3 |
3.2 |
2.7 |
2.3 |
2.2 |
1.7 |
11.4 |4081
10.1 |3605
6.9 |2467
3.5 |1252
2.7 |979
2.3 |812
2.2 |784
1.7 |617
4.3 |1525
4.2 |1497
3.9 |1380
3.8 |1354
3.3 |1189
3.2 |1150

Related parts for ST20