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: PC</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 Solution Engine 7751 SH4 (se7751)"
|
26 |
|
|
HREF="rt-sh-se7751.html"><LINK
|
27 |
|
|
REL="NEXT"
|
28 |
|
|
TITLE="Board: NEC V850 Cosmo Evaluation Board"
|
29 |
|
|
HREF="rt-v850-cebsa1.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-se7751.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-v850-cebsa1.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-I386-PC">Board: PC</H1
|
86 |
|
|
><TABLE
|
87 |
|
|
BORDER="5"
|
88 |
|
|
BGCOLOR="#E0E0F0"
|
89 |
|
|
WIDTH="70%"
|
90 |
|
|
><TR
|
91 |
|
|
><TD
|
92 |
|
|
><PRE
|
93 |
|
|
CLASS="LITERALLAYOUT"
|
94 |
|
|
>Board: PC
|
95 |
|
|
|
96 |
|
|
CPU: 433MHz Celeron
|
97 |
|
|
|
98 |
|
|
Startup, main stack : stack used 124 size 2912
|
99 |
|
|
Startup : Interrupt stack used 280 size 4108
|
100 |
|
|
Startup : Idlethread stack used 62 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 8 'ticks' overhead
|
106 |
|
|
... this value will be factored out of all other measurements
|
107 |
|
|
Clock interrupt took 6.75 microseconds (8 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 |
|
|
3.93 1.68 8.38 0.93 68% 3% Create thread
|
125 |
|
|
0.71 0.00 3.35 0.84 59% 59% Yield thread [all suspended]
|
126 |
|
|
0.65 0.00 5.03 0.84 64% 64% Suspend [suspended] thread
|
127 |
|
|
0.63 0.00 1.68 0.79 62% 62% Resume thread
|
128 |
|
|
0.76 0.00 1.68 0.83 54% 54% Set priority
|
129 |
|
|
0.39 0.00 1.68 0.60 76% 76% Get priority
|
130 |
|
|
1.34 0.00 6.70 0.67 73% 25% Kill [suspended] thread
|
131 |
|
|
0.68 0.00 1.68 0.81 59% 59% Yield [no other] thread
|
132 |
|
|
0.92 0.00 1.68 0.83 54% 45% Resume [suspended low prio] thread
|
133 |
|
|
0.63 0.00 1.68 0.79 62% 62% Resume [runnable low prio] thread
|
134 |
|
|
0.84 0.00 1.68 0.84 100% 50% Suspend [runnable] thread
|
135 |
|
|
0.73 0.00 1.68 0.82 56% 56% Yield [only low prio] thread
|
136 |
|
|
0.58 0.00 1.68 0.76 65% 65% Suspend [runnable->not runnable]
|
137 |
|
|
1.26 0.00 3.35 0.67 71% 26% Kill [runnable] thread
|
138 |
|
|
0.86 0.00 3.35 0.86 98% 50% Destroy [dead] thread
|
139 |
|
|
1.44 0.00 1.68 0.40 85% 14% Destroy [runnable] thread
|
140 |
|
|
4.45 3.35 6.70 0.89 53% 40% Resume [high priority] thread
|
141 |
|
|
1.62 0.00 1.68 0.10 96% 3% Thread switch
|
142 |
|
|
|
143 |
|
|
0.41 0.00 1.68 0.61 75% 75% Scheduler lock
|
144 |
|
|
0.48 0.00 1.68 0.69 71% 71% Scheduler unlock [0 threads]
|
145 |
|
|
0.59 0.00 1.68 0.76 64% 64% Scheduler unlock [1 suspended]
|
146 |
|
|
0.45 0.00 1.68 0.65 73% 73% Scheduler unlock [many suspended]
|
147 |
|
|
0.45 0.00 1.68 0.65 73% 73% Scheduler unlock [many low prio]
|
148 |
|
|
|
149 |
|
|
0.52 0.00 1.68 0.72 68% 68% Init mutex
|
150 |
|
|
0.79 0.00 5.03 0.93 96% 59% Lock [unlocked] mutex
|
151 |
|
|
0.84 0.00 5.03 0.94 96% 56% Unlock [locked] mutex
|
152 |
|
|
0.63 0.00 1.68 0.79 62% 62% Trylock [unlocked] mutex
|
153 |
|
|
0.52 0.00 1.68 0.72 68% 68% Trylock [locked] mutex
|
154 |
|
|
0.58 0.00 1.68 0.76 65% 65% Destroy mutex
|
155 |
|
|
3.40 3.35 5.03 0.10 96% 96% Unlock/Lock mutex
|
156 |
|
|
|
157 |
|
|
0.99 0.00 1.68 0.81 59% 40% Create mbox
|
158 |
|
|
0.47 0.00 1.68 0.68 71% 71% Peek [empty] mbox
|
159 |
|
|
0.79 0.00 5.03 0.93 96% 59% Put [first] mbox
|
160 |
|
|
0.42 0.00 1.68 0.63 75% 75% Peek [1 msg] mbox
|
161 |
|
|
0.79 0.00 1.68 0.83 53% 53% Put [second] mbox
|
162 |
|
|
0.37 0.00 1.68 0.57 78% 78% Peek [2 msgs] mbox
|
163 |
|
|
0.73 0.00 3.35 0.87 59% 59% Get [first] mbox
|
164 |
|
|
0.73 0.00 1.68 0.82 56% 56% Get [second] mbox
|
165 |
|
|
0.79 0.00 3.35 0.88 56% 56% Tryput [first] mbox
|
166 |
|
|
0.68 0.00 3.35 0.85 62% 62% Peek item [non-empty] mbox
|
167 |
|
|
0.73 0.00 3.35 0.87 59% 59% Tryget [non-empty] mbox
|
168 |
|
|
0.63 0.00 1.68 0.79 62% 62% Peek item [empty] mbox
|
169 |
|
|
0.68 0.00 1.68 0.81 59% 59% Tryget [empty] mbox
|
170 |
|
|
0.26 0.00 1.68 0.44 84% 84% Waiting to get mbox
|
171 |
|
|
0.63 0.00 1.68 0.79 62% 62% Waiting to put mbox
|
172 |
|
|
0.73 0.00 3.35 0.87 59% 59% Delete mbox
|
173 |
|
|
3.25 1.68 3.35 0.20 93% 6% Put/Get mbox
|
174 |
|
|
|
175 |
|
|
0.63 0.00 1.68 0.79 62% 62% Init semaphore
|
176 |
|
|
0.63 0.00 1.68 0.79 62% 62% Post [0] semaphore
|
177 |
|
|
0.63 0.00 1.68 0.79 62% 62% Wait [1] semaphore
|
178 |
|
|
0.52 0.00 1.68 0.72 68% 68% Trywait [0] semaphore
|
179 |
|
|
0.52 0.00 1.68 0.72 68% 68% Trywait [1] semaphore
|
180 |
|
|
0.52 0.00 1.68 0.72 68% 68% Peek semaphore
|
181 |
|
|
0.21 0.00 1.68 0.37 87% 87% Destroy semaphore
|
182 |
|
|
3.30 1.68 3.35 0.10 96% 3% Post/Wait semaphore
|
183 |
|
|
|
184 |
|
|
0.79 0.00 3.35 0.88 56% 56% Create counter
|
185 |
|
|
0.42 0.00 1.68 0.63 75% 75% Get counter value
|
186 |
|
|
0.37 0.00 1.68 0.57 78% 78% Set counter value
|
187 |
|
|
0.73 0.00 1.68 0.82 56% 56% Tick counter
|
188 |
|
|
0.63 0.00 1.68 0.79 62% 62% Delete counter
|
189 |
|
|
|
190 |
|
|
0.89 0.00 3.35 0.89 96% 50% Create alarm
|
191 |
|
|
0.84 0.00 1.68 0.84 100% 50% Initialize alarm
|
192 |
|
|
0.52 0.00 1.68 0.72 68% 68% Disable alarm
|
193 |
|
|
0.89 0.00 3.35 0.89 96% 50% Enable alarm
|
194 |
|
|
0.58 0.00 1.68 0.76 65% 65% Delete alarm
|
195 |
|
|
0.63 0.00 1.68 0.79 62% 62% Tick counter [1 alarm]
|
196 |
|
|
5.03 3.35 6.70 0.10 93% 3% Tick counter [many alarms]
|
197 |
|
|
0.94 0.00 1.68 0.82 56% 43% Tick & fire counter [1 alarm]
|
198 |
|
|
11.16 10.06 11.73 0.76 65% 34% Tick & fire counters [>1 together]
|
199 |
|
|
5.19 5.03 6.70 0.28 90% 90% Tick & fire counters [>1 separately]
|
200 |
|
|
0.01 0.00 1.68 0.03 99% 99% Alarm latency [0 threads]
|
201 |
|
|
0.13 0.00 1.68 0.24 92% 92% Alarm latency [2 threads]
|
202 |
|
|
0.94 0.00 3.35 0.85 53% 45% Alarm latency [many threads]
|
203 |
|
|
1.75 1.68 6.70 0.15 96% 96% Alarm -> thread resume latency
|
204 |
|
|
|
205 |
|
|
41 0 368 (main stack: 1036) Thread stack used (1712 total)
|
206 |
|
|
All done, main stack : stack used 1036 size 2912
|
207 |
|
|
All done : Interrupt stack used 368 size 4108
|
208 |
|
|
All done : Idlethread stack used 288 size 2048
|
209 |
|
|
|
210 |
|
|
Timing complete - 28520 ms total
|
211 |
|
|
|
212 |
|
|
PASS:<Basic timing OK>
|
213 |
|
|
EXIT:<done> </PRE
|
214 |
|
|
></TD
|
215 |
|
|
></TR
|
216 |
|
|
></TABLE
|
217 |
|
|
></DIV
|
218 |
|
|
><DIV
|
219 |
|
|
CLASS="NAVFOOTER"
|
220 |
|
|
><HR
|
221 |
|
|
ALIGN="LEFT"
|
222 |
|
|
WIDTH="100%"><TABLE
|
223 |
|
|
SUMMARY="Footer navigation table"
|
224 |
|
|
WIDTH="100%"
|
225 |
|
|
BORDER="0"
|
226 |
|
|
CELLPADDING="0"
|
227 |
|
|
CELLSPACING="0"
|
228 |
|
|
><TR
|
229 |
|
|
><TD
|
230 |
|
|
WIDTH="33%"
|
231 |
|
|
ALIGN="left"
|
232 |
|
|
VALIGN="top"
|
233 |
|
|
><A
|
234 |
|
|
HREF="rt-sh-se7751.html"
|
235 |
|
|
ACCESSKEY="P"
|
236 |
|
|
>Prev</A
|
237 |
|
|
></TD
|
238 |
|
|
><TD
|
239 |
|
|
WIDTH="34%"
|
240 |
|
|
ALIGN="center"
|
241 |
|
|
VALIGN="top"
|
242 |
|
|
><A
|
243 |
|
|
HREF="ecos-user-guide.html"
|
244 |
|
|
ACCESSKEY="H"
|
245 |
|
|
>Home</A
|
246 |
|
|
></TD
|
247 |
|
|
><TD
|
248 |
|
|
WIDTH="33%"
|
249 |
|
|
ALIGN="right"
|
250 |
|
|
VALIGN="top"
|
251 |
|
|
><A
|
252 |
|
|
HREF="rt-v850-cebsa1.html"
|
253 |
|
|
ACCESSKEY="N"
|
254 |
|
|
>Next</A
|
255 |
|
|
></TD
|
256 |
|
|
></TR
|
257 |
|
|
><TR
|
258 |
|
|
><TD
|
259 |
|
|
WIDTH="33%"
|
260 |
|
|
ALIGN="left"
|
261 |
|
|
VALIGN="top"
|
262 |
|
|
>Board: Hitachi Solution Engine 7751 SH4 (se7751)</TD
|
263 |
|
|
><TD
|
264 |
|
|
WIDTH="34%"
|
265 |
|
|
ALIGN="center"
|
266 |
|
|
VALIGN="top"
|
267 |
|
|
><A
|
268 |
|
|
HREF="real-time-characterization.html"
|
269 |
|
|
ACCESSKEY="U"
|
270 |
|
|
>Up</A
|
271 |
|
|
></TD
|
272 |
|
|
><TD
|
273 |
|
|
WIDTH="33%"
|
274 |
|
|
ALIGN="right"
|
275 |
|
|
VALIGN="top"
|
276 |
|
|
>Board: NEC V850 Cosmo Evaluation Board</TD
|
277 |
|
|
></TR
|
278 |
|
|
></TABLE
|
279 |
|
|
></DIV
|
280 |
|
|
></BODY
|
281 |
|
|
></HTML
|
282 |
|
|
>
|