1 |
1254 |
phoenix |
<!-- 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: CQ CqREEK SH3 Evaluation Board (cq7708)</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: Hitachi EDK7708"
|
26 |
|
|
HREF="rt-sh-edk7708.html"><LINK
|
27 |
|
|
REL="NEXT"
|
28 |
|
|
TITLE="Board: Hitachi HS7729PCI HS7729 SH3"
|
29 |
|
|
HREF="rt-sh-hs7729pci.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-edk7708.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-hs7729pci.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-CQ7708">Board: CQ CqREEK SH3 Evaluation Board (cq7708)</H1
|
86 |
|
|
><TABLE
|
87 |
|
|
BORDER="5"
|
88 |
|
|
BGCOLOR="#E0E0F0"
|
89 |
|
|
WIDTH="70%"
|
90 |
|
|
><TR
|
91 |
|
|
><TD
|
92 |
|
|
><PRE
|
93 |
|
|
CLASS="LITERALLAYOUT"
|
94 |
|
|
> Board: CQ CqREEK SH3 Evaluation Board (cq7708)
|
95 |
|
|
|
96 |
|
|
CPU: Hitachi SH3/7708 60MHz
|
97 |
|
|
|
98 |
|
|
Startup, main stack : stack used 448 size 4112
|
99 |
|
|
Startup : Interrupt stack used 80 size 4096
|
100 |
|
|
Startup : Idlethread stack used 96 size 2048
|
101 |
|
|
|
102 |
|
|
eCos Kernel Timings
|
103 |
|
|
Notes: all times are in microseconds (.000001) unless otherwise stated
|
104 |
|
|
|
105 |
|
|
Reading the hardware clock takes 2 `ticks' overhead
|
106 |
|
|
... this value will be factored out of all other measurements
|
107 |
|
|
Clock interrupt took 19.17 microseconds (71 raw clock ticks)
|
108 |
|
|
|
109 |
|
|
Testing parameters:
|
110 |
|
|
Clock samples: 32
|
111 |
|
|
Threads: 64
|
112 |
|
|
Thread switches: 128
|
113 |
|
|
Mutexes: 32
|
114 |
|
|
Mailboxes: 32
|
115 |
|
|
Semaphores: 32
|
116 |
|
|
Scheduler operations: 128
|
117 |
|
|
Counters: 32
|
118 |
|
|
Alarms: 32
|
119 |
|
|
|
120 |
|
|
|
121 |
|
|
Confidence
|
122 |
|
|
Ave Min Max Var Ave Min Function
|
123 |
|
|
====== ====== ====== ====== ========== ========
|
124 |
|
|
20.62 14.40 26.93 3.23 48% 26% Create thread
|
125 |
|
|
3.16 2.93 4.27 0.09 78% 20% Yield thread [all suspended]
|
126 |
|
|
2.91 2.40 5.87 0.17 57% 1% Suspend [suspended] thread
|
127 |
|
|
2.73 2.40 6.40 0.19 64% 15% Resume thread
|
128 |
|
|
4.05 3.73 11.47 0.27 62% 90% Set priority
|
129 |
|
|
0.82 0.27 2.67 0.17 56% 3% Get priority
|
130 |
|
|
9.07 8.53 24.27 0.51 78% 71% Kill [suspended] thread
|
131 |
|
|
3.19 2.93 7.20 0.14 70% 28% Yield [no other] thread
|
132 |
|
|
5.45 4.53 17.87 0.49 78% 17% Resume [suspended low prio] thread
|
133 |
|
|
2.67 2.40 5.07 0.15 56% 28% Resume [runnable low prio] thread
|
134 |
|
|
4.95 4.27 11.47 0.28 82% 14% Suspend [runnable] thread
|
135 |
|
|
3.15 2.93 4.53 0.11 73% 25% Yield [only low prio] thread
|
136 |
|
|
2.82 2.40 5.60 0.21 84% 10% Suspend [runnable->not runnable]
|
137 |
|
|
8.92 8.00 24.27 0.51 84% 14% Kill [runnable] thread
|
138 |
|
|
5.10 4.53 12.00 0.27 59% 39% Destroy [dead] thread
|
139 |
|
|
11.81 10.93 37.33 0.81 87% 95% Destroy [runnable] thread
|
140 |
|
|
22.15 20.80 54.67 1.27 92% 92% Resume [high priority] thread
|
141 |
|
|
6.85 6.67 13.60 0.19 99% 50% Thread switch
|
142 |
|
|
|
143 |
|
|
0.27 0.27 1.07 0.01 99% 99% Scheduler lock
|
144 |
|
|
1.74 1.60 2.67 0.14 99% 50% Scheduler unlock [0 threads]
|
145 |
|
|
1.74 1.60 2.93 0.14 99% 50% Scheduler unlock [1 suspended]
|
146 |
|
|
1.81 1.60 4.27 0.11 72% 26% Scheduler unlock [many suspended]
|
147 |
|
|
1.75 1.60 4.00 0.15 50% 49% Scheduler unlock [many low prio]
|
148 |
|
|
|
149 |
|
|
1.22 1.07 4.27 0.23 96% 78% Init mutex
|
150 |
|
|
3.18 2.93 7.20 0.27 96% 53% Lock [unlocked] mutex
|
151 |
|
|
3.40 3.20 8.00 0.31 96% 96% Unlock [locked] mutex
|
152 |
|
|
2.77 2.40 5.87 0.22 87% 9% Trylock [unlocked] mutex
|
153 |
|
|
2.35 2.13 3.47 0.14 65% 31% Trylock [locked] mutex
|
154 |
|
|
0.78 0.53 2.67 0.14 68% 28% Destroy mutex
|
155 |
|
|
22.80 22.40 28.80 0.51 96% 71% Unlock/Lock mutex
|
156 |
|
|
|
157 |
|
|
2.61 2.40 6.13 0.26 96% 62% Create mbox
|
158 |
|
|
0.52 0.27 1.60 0.19 40% 37% Peek [empty] mbox
|
159 |
|
|
3.54 3.20 7.73 0.35 93% 78% Put [first] mbox
|
160 |
|
|
0.50 0.27 1.60 0.17 46% 37% Peek [1 msg] mbox
|
161 |
|
|
3.62 3.20 6.93 0.34 59% 65% Put [second] mbox
|
162 |
|
|
0.52 0.27 2.13 0.23 31% 43% Peek [2 msgs] mbox
|
163 |
|
|
3.93 3.47 10.13 0.43 65% 65% Get [first] mbox
|
164 |
|
|
3.92 3.47 7.47 0.40 56% 56% Get [second] mbox
|
165 |
|
|
3.37 2.93 6.93 0.36 59% 68% Tryput [first] mbox
|
166 |
|
|
3.30 2.67 6.93 0.38 84% 40% Peek item [non-empty] mbox
|
167 |
|
|
3.93 3.47 9.33 0.44 65% 71% Tryget [non-empty] mbox
|
168 |
|
|
2.94 2.67 6.13 0.25 43% 43% Peek item [empty] mbox
|
169 |
|
|
3.23 2.93 6.67 0.27 56% 84% Tryget [empty] mbox
|
170 |
|
|
0.58 0.27 2.67 0.20 62% 21% Waiting to get mbox
|
171 |
|
|
0.55 0.27 1.87 0.14 62% 21% Waiting to put mbox
|
172 |
|
|
3.82 3.47 9.87 0.39 96% 93% Delete mbox
|
173 |
|
|
13.35 12.80 21.33 0.50 87% 78% Put/Get mbox
|
174 |
|
|
|
175 |
|
|
1.22 1.07 2.93 0.19 96% 59% Init semaphore
|
176 |
|
|
2.42 2.13 4.27 0.12 81% 15% Post [0] semaphore
|
177 |
|
|
2.96 2.67 5.07 0.16 68% 21% Wait [1] semaphore
|
178 |
|
|
2.37 2.13 4.53 0.17 62% 34% Trywait [0] semaphore
|
179 |
|
|
2.29 2.13 3.47 0.17 96% 53% Trywait [1] semaphore
|
180 |
|
|
0.66 0.53 2.13 0.17 96% 68% Peek semaphore
|
181 |
|
|
0.81 0.53 2.93 0.13 75% 21% Destroy semaphore
|
182 |
|
|
14.47 14.13 21.33 0.43 96% 96% Post/Wait semaphore
|
183 |
|
|
|
184 |
|
|
1.44 1.07 3.47 0.29 56% 71% Create counter
|
185 |
|
|
0.62 0.27 1.07 0.14 62% 3% Get counter value
|
186 |
|
|
0.56 0.27 1.60 0.17 50% 25% Set counter value
|
187 |
|
|
3.39 3.20 4.27 0.16 53% 40% Tick counter
|
188 |
|
|
0.83 0.53 1.87 0.14 68% 15% Delete counter
|
189 |
|
|
|
190 |
|
|
2.02 1.87 4.00 0.21 93% 68% Create alarm
|
191 |
|
|
5.06 4.27 11.73 0.46 78% 18% Initialize alarm
|
192 |
|
|
0.73 0.27 2.40 0.22 84% 3% Disable alarm
|
193 |
|
|
4.82 4.27 11.47 0.48 81% 65% Enable alarm
|
194 |
|
|
1.19 0.80 3.47 0.22 87% 9% Delete alarm
|
195 |
|
|
3.63 3.47 5.60 0.20 96% 59% Tick counter [1 alarm]
|
196 |
|
|
15.01 14.93 16.53 0.13 87% 87% Tick counter [many alarms]
|
197 |
|
|
5.50 5.33 8.00 0.22 96% 65% Tick & fire counter [1 alarm]
|
198 |
|
|
74.27 74.13 76.80 0.21 96% 78% Tick & fire counters [>1 together]
|
199 |
|
|
16.90 16.53 19.47 0.23 81% 15% Tick & fire counters [>1 separately]
|
200 |
|
|
16.70 16.53 36.27 0.33 98% 98% Alarm latency [0 threads]
|
201 |
|
|
17.85 16.53 34.40 0.47 73% 0% Alarm latency [2 threads]
|
202 |
|
|
63.26 58.40 80.00 2.64 52% 32% Alarm latency [many threads]
|
203 |
|
|
30.37 29.33 124.80 1.68 98% 97% Alarm -> thread resume latency
|
204 |
|
|
|
205 |
|
|
7.37 5.07 17.87 0.00 Clock/interrupt latency
|
206 |
|
|
|
207 |
|
|
9.00 4.53 26.93 0.00 Clock DSR latency
|
208 |
|
|
|
209 |
|
|
106 0 376 (main stack: 764) Thread stack used (992 total)
|
210 |
|
|
All done, main stack : stack used 764 size 4112
|
211 |
|
|
All done : Interrupt stack used 176 size 4096
|
212 |
|
|
All done : Idlethread stack used 352 size 2048
|
213 |
|
|
|
214 |
|
|
Timing complete - 30310 ms total
|
215 |
|
|
|
216 |
|
|
PASS:<Basic timing OK>
|
217 |
|
|
EXIT:<done>
|
218 |
|
|
|
219 |
|
|
</PRE
|
220 |
|
|
></TD
|
221 |
|
|
></TR
|
222 |
|
|
></TABLE
|
223 |
|
|
></DIV
|
224 |
|
|
><DIV
|
225 |
|
|
CLASS="NAVFOOTER"
|
226 |
|
|
><HR
|
227 |
|
|
ALIGN="LEFT"
|
228 |
|
|
WIDTH="100%"><TABLE
|
229 |
|
|
SUMMARY="Footer navigation table"
|
230 |
|
|
WIDTH="100%"
|
231 |
|
|
BORDER="0"
|
232 |
|
|
CELLPADDING="0"
|
233 |
|
|
CELLSPACING="0"
|
234 |
|
|
><TR
|
235 |
|
|
><TD
|
236 |
|
|
WIDTH="33%"
|
237 |
|
|
ALIGN="left"
|
238 |
|
|
VALIGN="top"
|
239 |
|
|
><A
|
240 |
|
|
HREF="rt-sh-edk7708.html"
|
241 |
|
|
ACCESSKEY="P"
|
242 |
|
|
>Prev</A
|
243 |
|
|
></TD
|
244 |
|
|
><TD
|
245 |
|
|
WIDTH="34%"
|
246 |
|
|
ALIGN="center"
|
247 |
|
|
VALIGN="top"
|
248 |
|
|
><A
|
249 |
|
|
HREF="ecos-user-guide.html"
|
250 |
|
|
ACCESSKEY="H"
|
251 |
|
|
>Home</A
|
252 |
|
|
></TD
|
253 |
|
|
><TD
|
254 |
|
|
WIDTH="33%"
|
255 |
|
|
ALIGN="right"
|
256 |
|
|
VALIGN="top"
|
257 |
|
|
><A
|
258 |
|
|
HREF="rt-sh-hs7729pci.html"
|
259 |
|
|
ACCESSKEY="N"
|
260 |
|
|
>Next</A
|
261 |
|
|
></TD
|
262 |
|
|
></TR
|
263 |
|
|
><TR
|
264 |
|
|
><TD
|
265 |
|
|
WIDTH="33%"
|
266 |
|
|
ALIGN="left"
|
267 |
|
|
VALIGN="top"
|
268 |
|
|
>Board: Hitachi EDK7708</TD
|
269 |
|
|
><TD
|
270 |
|
|
WIDTH="34%"
|
271 |
|
|
ALIGN="center"
|
272 |
|
|
VALIGN="top"
|
273 |
|
|
><A
|
274 |
|
|
HREF="real-time-characterization.html"
|
275 |
|
|
ACCESSKEY="U"
|
276 |
|
|
>Up</A
|
277 |
|
|
></TD
|
278 |
|
|
><TD
|
279 |
|
|
WIDTH="33%"
|
280 |
|
|
ALIGN="right"
|
281 |
|
|
VALIGN="top"
|
282 |
|
|
>Board: Hitachi HS7729PCI HS7729 SH3</TD
|
283 |
|
|
></TR
|
284 |
|
|
></TABLE
|
285 |
|
|
></DIV
|
286 |
|
|
></BODY
|
287 |
|
|
></HTML
|
288 |
|
|
>
|