1 |
28 |
unneback |
<!-- Copyright (C) 2003 Red Hat, Inc. -->
|
2 |
|
|
<!-- This material may be distributed only subject to the terms -->
|
3 |
|
|
<!-- and conditions set forth in the Open Publication License, v1.0 -->
|
4 |
|
|
<!-- or later (the latest version is presently available at -->
|
5 |
|
|
<!-- http://www.opencontent.org/openpub/). -->
|
6 |
|
|
<!-- Distribution of the work or derivative of the work in any -->
|
7 |
|
|
<!-- standard (paper) book form is prohibited unless prior -->
|
8 |
|
|
<!-- permission is obtained from the copyright holder. -->
|
9 |
|
|
<HTML
|
10 |
|
|
><HEAD
|
11 |
|
|
><TITLE
|
12 |
|
|
>Board: Hitachi HS7729PCI HS7729 SH3</TITLE
|
13 |
|
|
><meta name="MSSmartTagsPreventParsing" content="TRUE">
|
14 |
|
|
<META
|
15 |
|
|
NAME="GENERATOR"
|
16 |
|
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
|
17 |
|
|
"><LINK
|
18 |
|
|
REL="HOME"
|
19 |
|
|
TITLE="eCos User Guide"
|
20 |
|
|
HREF="ecos-user-guide.html"><LINK
|
21 |
|
|
REL="UP"
|
22 |
|
|
TITLE="Real-time characterization"
|
23 |
|
|
HREF="real-time-characterization.html"><LINK
|
24 |
|
|
REL="PREVIOUS"
|
25 |
|
|
TITLE="Board: CQ CqREEK SH3 Evaluation Board (cq7708)"
|
26 |
|
|
HREF="rt-sh-cq7708.html"><LINK
|
27 |
|
|
REL="NEXT"
|
28 |
|
|
TITLE="Board: Hitachi Solution Engine 7751 SH4 (se7751)"
|
29 |
|
|
HREF="rt-sh-se7751.html"></HEAD
|
30 |
|
|
><BODY
|
31 |
|
|
CLASS="SECT1"
|
32 |
|
|
BGCOLOR="#FFFFFF"
|
33 |
|
|
TEXT="#000000"
|
34 |
|
|
LINK="#0000FF"
|
35 |
|
|
VLINK="#840084"
|
36 |
|
|
ALINK="#0000FF"
|
37 |
|
|
><DIV
|
38 |
|
|
CLASS="NAVHEADER"
|
39 |
|
|
><TABLE
|
40 |
|
|
SUMMARY="Header navigation table"
|
41 |
|
|
WIDTH="100%"
|
42 |
|
|
BORDER="0"
|
43 |
|
|
CELLPADDING="0"
|
44 |
|
|
CELLSPACING="0"
|
45 |
|
|
><TR
|
46 |
|
|
><TH
|
47 |
|
|
COLSPAN="3"
|
48 |
|
|
ALIGN="center"
|
49 |
|
|
>eCos User Guide</TH
|
50 |
|
|
></TR
|
51 |
|
|
><TR
|
52 |
|
|
><TD
|
53 |
|
|
WIDTH="10%"
|
54 |
|
|
ALIGN="left"
|
55 |
|
|
VALIGN="bottom"
|
56 |
|
|
><A
|
57 |
|
|
HREF="rt-sh-cq7708.html"
|
58 |
|
|
ACCESSKEY="P"
|
59 |
|
|
>Prev</A
|
60 |
|
|
></TD
|
61 |
|
|
><TD
|
62 |
|
|
WIDTH="80%"
|
63 |
|
|
ALIGN="center"
|
64 |
|
|
VALIGN="bottom"
|
65 |
|
|
>Appendix B. Real-time characterization</TD
|
66 |
|
|
><TD
|
67 |
|
|
WIDTH="10%"
|
68 |
|
|
ALIGN="right"
|
69 |
|
|
VALIGN="bottom"
|
70 |
|
|
><A
|
71 |
|
|
HREF="rt-sh-se7751.html"
|
72 |
|
|
ACCESSKEY="N"
|
73 |
|
|
>Next</A
|
74 |
|
|
></TD
|
75 |
|
|
></TR
|
76 |
|
|
></TABLE
|
77 |
|
|
><HR
|
78 |
|
|
ALIGN="LEFT"
|
79 |
|
|
WIDTH="100%"></DIV
|
80 |
|
|
><DIV
|
81 |
|
|
CLASS="SECT1"
|
82 |
|
|
><H1
|
83 |
|
|
CLASS="SECT1"
|
84 |
|
|
><A
|
85 |
|
|
NAME="RT-SH-HS7729PCI">Board: Hitachi HS7729PCI HS7729 SH3</H1
|
86 |
|
|
><TABLE
|
87 |
|
|
BORDER="5"
|
88 |
|
|
BGCOLOR="#E0E0F0"
|
89 |
|
|
WIDTH="70%"
|
90 |
|
|
><TR
|
91 |
|
|
><TD
|
92 |
|
|
><PRE
|
93 |
|
|
CLASS="LITERALLAYOUT"
|
94 |
|
|
> Board: Hitachi HS7729PCI HS7729 SH3
|
95 |
|
|
|
96 |
|
|
CPU: Hitachi SH3/7729 132MHz
|
97 |
|
|
|
98 |
|
|
|
99 |
|
|
Startup, main stack : stack used 464 size 4112
|
100 |
|
|
Startup : Interrupt stack used 92 size 4096
|
101 |
|
|
Startup : Idlethread stack used 94 size 2048
|
102 |
|
|
|
103 |
|
|
eCos Kernel Timings
|
104 |
|
|
Notes: all times are in microseconds (.000001) unless otherwise stated
|
105 |
|
|
|
106 |
|
|
Reading the hardware clock takes 3 'ticks' overhead
|
107 |
|
|
... this value will be factored out of all other measurements
|
108 |
|
|
Clock interrupt took 18.10 microseconds (149 raw clock ticks)
|
109 |
|
|
|
110 |
|
|
Testing parameters:
|
111 |
|
|
Clock samples: 32
|
112 |
|
|
Threads: 64
|
113 |
|
|
Thread switches: 128
|
114 |
|
|
Mutexes: 32
|
115 |
|
|
Mailboxes: 32
|
116 |
|
|
Semaphores: 32
|
117 |
|
|
Scheduler operations: 128
|
118 |
|
|
Counters: 32
|
119 |
|
|
Alarms: 32
|
120 |
|
|
|
121 |
|
|
|
122 |
|
|
Confidence
|
123 |
|
|
Ave Min Max Var Ave Min Function
|
124 |
|
|
====== ====== ====== ====== ========== ========
|
125 |
|
|
18.33 15.52 28.24 1.47 53% 28% Create thread
|
126 |
|
|
3.08 2.91 6.79 0.13 78% 89% Yield thread [all suspended]
|
127 |
|
|
3.23 3.03 6.18 0.16 59% 70% Suspend [suspended] thread
|
128 |
|
|
2.70 2.55 6.18 0.15 54% 82% Resume thread
|
129 |
|
|
4.12 4.00 7.52 0.16 96% 81% Set priority
|
130 |
|
|
0.61 0.48 1.33 0.07 57% 28% Get priority
|
131 |
|
|
9.14 8.61 18.91 0.42 85% 57% Kill [suspended] thread
|
132 |
|
|
3.04 2.91 4.48 0.07 68% 20% Yield [no other] thread
|
133 |
|
|
5.12 4.73 7.88 0.29 60% 53% Resume [suspended low prio] thread
|
134 |
|
|
2.54 2.42 3.03 0.09 39% 40% Resume [runnable low prio] thread
|
135 |
|
|
5.00 4.36 9.45 0.21 75% 1% Suspend [runnable] thread
|
136 |
|
|
3.04 2.91 4.61 0.07 65% 21% Yield [only low prio] thread
|
137 |
|
|
2.91 2.79 3.27 0.08 43% 31% Suspend [runnable->not runnable]
|
138 |
|
|
8.82 8.12 15.39 0.36 68% 29% Kill [runnable] thread
|
139 |
|
|
5.07 4.48 12.73 0.37 76% 50% Destroy [dead] thread
|
140 |
|
|
11.17 10.55 22.91 0.52 78% 67% Destroy [runnable] thread
|
141 |
|
|
22.43 21.45 32.73 0.61 81% 50% Resume [high priority] thread
|
142 |
|
|
7.99 7.88 13.58 0.14 98% 86% Thread switch
|
143 |
|
|
|
144 |
|
|
0.37 0.36 1.33 0.02 97% 97% Scheduler lock
|
145 |
|
|
1.74 1.70 2.06 0.06 70% 70% Scheduler unlock [0 threads]
|
146 |
|
|
1.75 1.70 2.06 0.07 92% 64% Scheduler unlock [1 suspended]
|
147 |
|
|
1.71 1.70 2.42 0.03 89% 89% Scheduler unlock [many suspended]
|
148 |
|
|
1.76 1.70 3.64 0.08 96% 64% Scheduler unlock [many low prio]
|
149 |
|
|
|
150 |
|
|
4.23 3.88 10.67 0.41 96% 93% Unlock [locked] mutex
|
151 |
|
|
3.12 2.91 6.91 0.29 96% 87% Trylock [unlocked] mutex
|
152 |
|
|
2.54 2.42 2.91 0.11 18% 46% Trylock [locked] mutex
|
153 |
|
|
0.88 0.73 3.15 0.14 65% 96% Destroy mutex
|
154 |
|
|
22.33 22.06 25.94 0.23 81% 62% Unlock/Lock mutex
|
155 |
|
|
|
156 |
|
|
1.92 1.82 4.73 0.19 96% 93% Create mbox
|
157 |
|
|
0.61 0.48 1.70 0.15 84% 75% Peek [empty] mbox
|
158 |
|
|
4.00 3.64 9.45 0.36 96% 87% Put [first] mbox
|
159 |
|
|
0.30 0.24 0.73 0.09 84% 75% Peek [1 msg] mbox
|
160 |
|
|
3.82 3.64 6.67 0.22 90% 84% Put [second] mbox
|
161 |
|
|
0.32 0.24 1.33 0.12 81% 81% Peek [2 msgs] mbox
|
162 |
|
|
4.19 3.76 9.21 0.34 84% 50% Get [first] mbox
|
163 |
|
|
3.91 3.76 5.21 0.16 84% 75% Get [second] mbox
|
164 |
|
|
3.51 3.27 8.12 0.34 93% 87% Tryput [first] mbox
|
165 |
|
|
3.25 2.91 7.15 0.30 62% 56% Peek item [non-empty] mbox
|
166 |
|
|
3.86 3.52 8.73 0.37 93% 84% Tryget [non-empty] mbox
|
167 |
|
|
2.87 2.79 3.76 0.12 84% 71% Peek item [empty] mbox
|
168 |
|
|
3.15 3.03 4.24 0.10 46% 40% Tryget [empty] mbox
|
169 |
|
|
0.34 0.24 1.33 0.10 43% 46% Waiting to get mbox
|
170 |
|
|
0.36 0.24 1.45 0.09 53% 37% Waiting to put mbox
|
171 |
|
|
4.49 4.24 10.91 0.41 96% 96% Delete mbox
|
172 |
|
|
12.67 12.36 19.52 0.43 96% 96% Put/Get mbox
|
173 |
|
|
|
174 |
|
|
0.87 0.85 1.45 0.05 93% 93% Init semaphore
|
175 |
|
|
2.74 2.55 4.48 0.18 50% 50% Post [0] semaphore
|
176 |
|
|
3.39 3.15 4.24 0.14 78% 50% Wait [1] semaphore
|
177 |
|
|
2.62 2.42 5.33 0.21 96% 65% Trywait [0] semaphore
|
178 |
|
|
2.76 2.67 3.27 0.08 46% 43% Trywait [1] semaphore
|
179 |
|
|
1.09 0.85 2.91 0.19 68% 56% Peek semaphore
|
180 |
|
|
0.97 0.73 3.39 0.17 90% 65% Destroy semaphore
|
181 |
|
|
13.09 12.85 16.12 0.19 84% 65% Post/Wait semaphore
|
182 |
|
|
|
183 |
|
|
1.57 1.45 3.88 0.15 96% 93% Create counter
|
184 |
|
|
0.91 0.73 2.18 0.16 46% 68% Get counter value
|
185 |
|
|
0.55 0.48 0.97 0.09 90% 62% Set counter value
|
186 |
|
|
4.19 4.00 5.82 0.13 84% 75% Tick counter
|
187 |
|
|
0.87 0.73 3.15 0.16 93% 93% Delete counter
|
188 |
|
|
|
189 |
|
|
2.50 2.30 5.21 0.18 81% 90% Create alarm
|
190 |
|
|
6.16 5.70 12.97 0.47 96% 71% Initialize alarm
|
191 |
|
|
0.50 0.36 1.70 0.11 62% 34% Disable alarm
|
192 |
|
|
5.16 4.85 8.73 0.29 78% 78% Enable alarm
|
193 |
|
|
1.18 1.09 2.30 0.12 84% 65% Delete alarm
|
194 |
|
|
5.22 5.09 7.39 0.14 96% 93% Tick counter [1 alarm]
|
195 |
|
|
52.37 52.12 52.73 0.20 37% 56% Tick counter [many alarms]
|
196 |
|
|
6.73 6.55 8.24 0.13 78% 68% Tick & fire counter [1 alarm]
|
197 |
|
|
108.65 108.61 109.21 0.07 87% 87% Tick & fire counters [>1 together]
|
198 |
|
|
54.25 54.06 54.79 0.11 65% 18% Tick & fire counters [>1 separately]
|
199 |
|
|
17.36 17.09 29.82 0.23 82% 57% Alarm latency [0 threads]
|
200 |
|
|
19.75 17.09 28.00 1.65 46% 40% Alarm latency [2 threads]
|
201 |
|
|
39.02 34.06 50.67 2.00 53% 15% Alarm latency [many threads]
|
202 |
|
|
29.31 28.36 105.09 1.27 98% 97% Alarm -> thread resume latency
|
203 |
|
|
|
204 |
|
|
5.08 3.88 11.15 0.00 Clock/interrupt latency
|
205 |
|
|
|
206 |
|
|
7.32 5.09 16.73 0.00 Clock DSR latency
|
207 |
|
|
|
208 |
|
|
6 0 380 (main stack: 820) Thread stack used (992 total)
|
209 |
|
|
All done, main stack : stack used 820 size 4112
|
210 |
|
|
All done : Interrupt stack used 196 size 4096
|
211 |
|
|
All done : Idlethread stack used 360 size 2048
|
212 |
|
|
|
213 |
|
|
Timing complete - 29960 ms total
|
214 |
|
|
PASS:<Basic timing OK>
|
215 |
|
|
EXIT:<done> </PRE
|
216 |
|
|
></TD
|
217 |
|
|
></TR
|
218 |
|
|
></TABLE
|
219 |
|
|
></DIV
|
220 |
|
|
><DIV
|
221 |
|
|
CLASS="NAVFOOTER"
|
222 |
|
|
><HR
|
223 |
|
|
ALIGN="LEFT"
|
224 |
|
|
WIDTH="100%"><TABLE
|
225 |
|
|
SUMMARY="Footer navigation table"
|
226 |
|
|
WIDTH="100%"
|
227 |
|
|
BORDER="0"
|
228 |
|
|
CELLPADDING="0"
|
229 |
|
|
CELLSPACING="0"
|
230 |
|
|
><TR
|
231 |
|
|
><TD
|
232 |
|
|
WIDTH="33%"
|
233 |
|
|
ALIGN="left"
|
234 |
|
|
VALIGN="top"
|
235 |
|
|
><A
|
236 |
|
|
HREF="rt-sh-cq7708.html"
|
237 |
|
|
ACCESSKEY="P"
|
238 |
|
|
>Prev</A
|
239 |
|
|
></TD
|
240 |
|
|
><TD
|
241 |
|
|
WIDTH="34%"
|
242 |
|
|
ALIGN="center"
|
243 |
|
|
VALIGN="top"
|
244 |
|
|
><A
|
245 |
|
|
HREF="ecos-user-guide.html"
|
246 |
|
|
ACCESSKEY="H"
|
247 |
|
|
>Home</A
|
248 |
|
|
></TD
|
249 |
|
|
><TD
|
250 |
|
|
WIDTH="33%"
|
251 |
|
|
ALIGN="right"
|
252 |
|
|
VALIGN="top"
|
253 |
|
|
><A
|
254 |
|
|
HREF="rt-sh-se7751.html"
|
255 |
|
|
ACCESSKEY="N"
|
256 |
|
|
>Next</A
|
257 |
|
|
></TD
|
258 |
|
|
></TR
|
259 |
|
|
><TR
|
260 |
|
|
><TD
|
261 |
|
|
WIDTH="33%"
|
262 |
|
|
ALIGN="left"
|
263 |
|
|
VALIGN="top"
|
264 |
|
|
>Board: CQ CqREEK SH3 Evaluation Board (cq7708)</TD
|
265 |
|
|
><TD
|
266 |
|
|
WIDTH="34%"
|
267 |
|
|
ALIGN="center"
|
268 |
|
|
VALIGN="top"
|
269 |
|
|
><A
|
270 |
|
|
HREF="real-time-characterization.html"
|
271 |
|
|
ACCESSKEY="U"
|
272 |
|
|
>Up</A
|
273 |
|
|
></TD
|
274 |
|
|
><TD
|
275 |
|
|
WIDTH="33%"
|
276 |
|
|
ALIGN="right"
|
277 |
|
|
VALIGN="top"
|
278 |
|
|
>Board: Hitachi Solution Engine 7751 SH4 (se7751)</TD
|
279 |
|
|
></TR
|
280 |
|
|
></TABLE
|
281 |
|
|
></DIV
|
282 |
|
|
></BODY
|
283 |
|
|
></HTML
|
284 |
|
|
>
|