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: Intel StrongARM EBSA-285 Evaluation Board</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: Atmel AT91/EB40"
|
26 |
|
|
HREF="rt-at91-eb40.html"><LINK
|
27 |
|
|
REL="NEXT"
|
28 |
|
|
TITLE="Board: Cirrus Logic EDB7111-2 Development Board"
|
29 |
|
|
HREF="rt-arm-ep7211.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-at91-eb40.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-arm-ep7211.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-ARM-EBSA285">Board: Intel StrongARM EBSA-285 Evaluation Board</H1
|
86 |
|
|
><TABLE
|
87 |
|
|
BORDER="5"
|
88 |
|
|
BGCOLOR="#E0E0F0"
|
89 |
|
|
WIDTH="70%"
|
90 |
|
|
><TR
|
91 |
|
|
><TD
|
92 |
|
|
><PRE
|
93 |
|
|
CLASS="LITERALLAYOUT"
|
94 |
|
|
>Board: Intel StrongARM EBSA-285 Evaluation Board
|
95 |
|
|
|
96 |
|
|
CPU : Intel StrongARM SA-110 228MHz
|
97 |
|
|
|
98 |
|
|
|
99 |
|
|
Startup, main stack : stack used 404 size 2400
|
100 |
|
|
Startup : Interrupt stack used 136 size 4096
|
101 |
|
|
Startup : Idlethread stack used 80 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 1 'ticks' overhead
|
107 |
|
|
... this value will be factored out of all other measurements
|
108 |
|
|
Clock interrupt took 4.61 microseconds (16 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 |
|
|
4.97 3.26 7.34 0.60 50% 4% Create thread
|
126 |
|
|
0.73 0.54 2.17 0.14 60% 37% Yield thread [all suspended]
|
127 |
|
|
0.98 0.82 2.99 0.23 81% 68% Suspend [suspended] thread
|
128 |
|
|
0.54 0.27 1.63 0.03 92% 6% Resume thread
|
129 |
|
|
0.83 0.54 1.90 0.10 73% 14% Set priority
|
130 |
|
|
0.21 0.00 0.54 0.21 25% 48% Get priority
|
131 |
|
|
2.25 1.90 10.05 0.37 96% 67% Kill [suspended] thread
|
132 |
|
|
0.70 0.54 1.09 0.14 53% 45% Yield [no other] thread
|
133 |
|
|
0.96 0.82 1.36 0.14 50% 48% Resume [suspended low prio] thread
|
134 |
|
|
0.53 0.27 0.82 0.03 92% 6% Resume [runnable low prio] thread
|
135 |
|
|
0.90 0.82 1.63 0.13 70% 70% Suspend [runnable] thread
|
136 |
|
|
0.70 0.54 0.82 0.13 57% 42% Yield [only low prio] thread
|
137 |
|
|
0.55 0.54 0.82 0.01 98% 98% Suspend [runnable->not runnable]
|
138 |
|
|
1.64 1.63 2.17 0.02 98% 98% Kill [runnable] thread
|
139 |
|
|
0.97 0.82 4.62 0.20 98% 64% Destroy [dead] thread
|
140 |
|
|
2.17 1.90 2.17 0.01 98% 1% Destroy [runnable] thread
|
141 |
|
|
6.06 5.16 10.60 0.53 59% 31% Resume [high priority] thread
|
142 |
|
|
1.69 1.63 5.98 0.11 90% 90% Thread switch
|
143 |
|
|
|
144 |
|
|
0.14 0.00 1.36 0.14 99% 50% Scheduler lock
|
145 |
|
|
0.37 0.27 0.54 0.13 62% 62% Scheduler unlock [0 threads]
|
146 |
|
|
0.38 0.27 0.54 0.13 60% 60% Scheduler unlock [1 suspended]
|
147 |
|
|
0.37 0.27 0.54 0.13 63% 63% Scheduler unlock [many suspended]
|
148 |
|
|
0.37 0.27 0.54 0.13 63% 63% Scheduler unlock [many low prio]
|
149 |
|
|
|
150 |
|
|
0.34 0.00 1.90 0.15 78% 6% Init mutex
|
151 |
|
|
0.88 0.54 4.62 0.37 93% 71% Lock [unlocked] mutex
|
152 |
|
|
0.79 0.54 4.35 0.26 93% 53% Unlock [locked] mutex
|
153 |
|
|
0.59 0.27 2.17 0.10 93% 3% Trylock [unlocked] mutex
|
154 |
|
|
0.50 0.27 0.82 0.09 78% 18% Trylock [locked] mutex
|
155 |
|
|
0.18 0.00 0.54 0.13 59% 37% Destroy mutex
|
156 |
|
|
3.85 3.80 5.16 0.08 96% 96% Unlock/Lock mutex
|
157 |
|
|
|
158 |
|
|
0.64 0.27 3.53 0.24 81% 15% Create mbox
|
159 |
|
|
0.61 0.27 2.17 0.21 68% 18% Peek [empty] mbox
|
160 |
|
|
0.87 0.54 5.16 0.31 59% 87% Put [first] mbox
|
161 |
|
|
0.08 0.00 0.54 0.12 71% 71% Peek [1 msg] mbox
|
162 |
|
|
0.71 0.54 1.09 0.14 56% 40% Put [second] mbox
|
163 |
|
|
0.08 0.00 0.27 0.12 68% 68% Peek [2 msgs] mbox
|
164 |
|
|
0.89 0.54 4.89 0.31 62% 81% Get [first] mbox
|
165 |
|
|
0.76 0.54 1.09 0.17 43% 37% Get [second] mbox
|
166 |
|
|
0.76 0.54 3.26 0.21 96% 50% Tryput [first] mbox
|
167 |
|
|
0.65 0.54 2.45 0.17 81% 81% Peek item [non-empty] mbox
|
168 |
|
|
0.76 0.54 2.72 0.19 53% 43% Tryget [non-empty] mbox
|
169 |
|
|
0.58 0.54 0.82 0.06 87% 87% Peek item [empty] mbox
|
170 |
|
|
0.61 0.54 0.82 0.10 75% 75% Tryget [empty] mbox
|
171 |
|
|
0.10 0.00 0.54 0.13 65% 65% Waiting to get mbox
|
172 |
|
|
0.10 0.00 0.54 0.13 65% 65% Waiting to put mbox
|
173 |
|
|
0.77 0.54 3.26 0.20 53% 43% Delete mbox
|
174 |
|
|
2.10 1.90 6.25 0.30 93% 93% Put/Get mbox
|
175 |
|
|
|
176 |
|
|
0.34 0.27 1.09 0.11 81% 81% Init semaphore
|
177 |
|
|
0.60 0.27 1.09 0.12 68% 6% Post [0] semaphore
|
178 |
|
|
0.59 0.54 0.82 0.08 81% 81% Wait [1] semaphore
|
179 |
|
|
0.59 0.54 2.17 0.10 96% 96% Trywait [0] semaphore
|
180 |
|
|
0.48 0.27 0.82 0.11 71% 25% Trywait [1] semaphore
|
181 |
|
|
0.24 0.00 0.82 0.09 78% 18% Peek semaphore
|
182 |
|
|
0.19 0.00 0.54 0.13 62% 34% Destroy semaphore
|
183 |
|
|
2.28 2.17 4.08 0.18 93% 90% Post/Wait semaphore
|
184 |
|
|
|
185 |
|
|
0.43 0.00 2.72 0.23 90% 6% Create counter
|
186 |
|
|
0.40 0.00 1.63 0.25 68% 28% Get counter value
|
187 |
|
|
0.13 0.00 0.82 0.15 96% 59% Set counter value
|
188 |
|
|
0.71 0.54 1.63 0.16 50% 46% Tick counter
|
189 |
|
|
0.16 0.00 0.54 0.14 53% 43% Delete counter
|
190 |
|
|
|
191 |
|
|
0.47 0.27 1.36 0.15 59% 37% Create alarm
|
192 |
|
|
1.58 1.09 7.07 0.44 71% 68% Initialize alarm
|
193 |
|
|
0.12 0.00 1.09 0.16 96% 65% Disable alarm
|
194 |
|
|
1.01 0.82 2.45 0.17 53% 43% Enable alarm
|
195 |
|
|
0.21 0.00 0.27 0.09 78% 21% Delete alarm
|
196 |
|
|
0.78 0.54 1.90 0.12 71% 25% Tick counter [1 alarm]
|
197 |
|
|
3.90 3.80 4.35 0.13 68% 68% Tick counter [many alarms]
|
198 |
|
|
1.25 1.09 1.63 0.14 53% 43% Tick & fire counter [1 alarm]
|
199 |
|
|
19.88 19.84 20.11 0.07 84% 84% Tick & fire counters [>1 together]
|
200 |
|
|
4.37 4.35 4.62 0.05 90% 90% Tick & fire counters [>1 separately]
|
201 |
|
|
3.83 3.80 7.61 0.06 99% 99% Alarm latency [0 threads]
|
202 |
|
|
4.46 3.80 7.88 0.27 71% 24% Alarm latency [2 threads]
|
203 |
|
|
16.06 13.59 26.36 1.05 54% 10% Alarm latency [many threads]
|
204 |
|
|
6.67 6.52 22.83 0.29 98% 98% Alarm -> thread resume latency
|
205 |
|
|
|
206 |
|
|
1.89 0.82 9.78 0.00 Clock/interrupt latency
|
207 |
|
|
|
208 |
|
|
2.17 1.09 7.34 0.00 Clock DSR latency
|
209 |
|
|
|
210 |
|
|
11 0 316 (main stack: 744) Thread stack used (1120 total)
|
211 |
|
|
All done, main stack : stack used 744 size 2400
|
212 |
|
|
All done : Interrupt stack used 288 size 4096
|
213 |
|
|
All done : Idlethread stack used 268 size 2048
|
214 |
|
|
|
215 |
|
|
Timing complete - 30210 ms total
|
216 |
|
|
|
217 |
|
|
PASS:<Basic timing OK>
|
218 |
|
|
EXIT:<done>
|
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-at91-eb40.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-arm-ep7211.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: Atmel AT91/EB40</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: Cirrus Logic EDB7111-2 Development Board</TD
|
283 |
|
|
></TR
|
284 |
|
|
></TABLE
|
285 |
|
|
></DIV
|
286 |
|
|
></BODY
|
287 |
|
|
></HTML
|
288 |
|
|
>
|