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: Toshiba REF 4955</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: Toshiba JMR3904 Evaluation Board"
|
26 |
|
|
HREF="rt-tx39-jmr3904.html"><LINK
|
27 |
|
|
REL="NEXT"
|
28 |
|
|
TITLE="Board: Matsushita STDEVAL1 Board"
|
29 |
|
|
HREF="rt-mn10300-stdeval1.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-tx39-jmr3904.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-mn10300-stdeval1.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-TX49-REF4955">Board: Toshiba REF 4955</H1
|
86 |
|
|
><TABLE
|
87 |
|
|
BORDER="5"
|
88 |
|
|
BGCOLOR="#E0E0F0"
|
89 |
|
|
WIDTH="70%"
|
90 |
|
|
><TR
|
91 |
|
|
><TD
|
92 |
|
|
><PRE
|
93 |
|
|
CLASS="LITERALLAYOUT"
|
94 |
|
|
> Board: Toshiba REF 4955
|
95 |
|
|
|
96 |
|
|
CPU : Toshiba TX4955 66MHz
|
97 |
|
|
|
98 |
|
|
Startup, main stack : stack used 960 size 2936
|
99 |
|
|
Startup : Interrupt stack used 168 size 4096
|
100 |
|
|
Startup : Idlethread stack used 372 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 3 `ticks' overhead
|
106 |
|
|
... this value will be factored out of all other measurements
|
107 |
|
|
Clock interrupt took 4.00 microseconds (264 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 |
|
|
11.21 9.58 14.11 0.95 48% 34% Create thread
|
125 |
|
|
0.66 0.65 1.29 0.02 98% 98% Yield thread [all suspended]
|
126 |
|
|
0.63 0.53 3.06 0.17 82% 82% Suspend [suspended] thread
|
127 |
|
|
0.54 0.53 1.06 0.02 98% 98% Resume thread
|
128 |
|
|
0.78 0.74 1.39 0.05 93% 93% Set priority
|
129 |
|
|
0.05 0.05 0.36 0.01 98% 98% Get priority
|
130 |
|
|
2.06 1.89 6.65 0.25 95% 79% Kill [suspended] thread
|
131 |
|
|
0.65 0.65 0.68 0.00 98% 98% Yield [no other] thread
|
132 |
|
|
1.15 1.02 3.03 0.20 81% 81% Resume [suspended low prio] thread
|
133 |
|
|
0.54 0.52 1.18 0.03 96% 96% Resume [runnable low prio] thread
|
134 |
|
|
0.94 0.88 1.27 0.01 95% 1% Suspend [runnable] thread
|
135 |
|
|
0.65 0.65 0.68 0.00 98% 98% Yield [only low prio] thread
|
136 |
|
|
0.54 0.53 0.86 0.01 98% 96% Suspend [runnable->not runnable]
|
137 |
|
|
1.97 1.89 2.98 0.12 84% 84% Kill [runnable] thread
|
138 |
|
|
1.03 0.92 4.94 0.17 89% 89% Destroy [dead] thread
|
139 |
|
|
2.55 2.33 4.38 0.24 89% 70% Destroy [runnable] thread
|
140 |
|
|
5.62 4.11 13.23 0.99 65% 40% Resume [high priority] thread
|
141 |
|
|
1.84 1.83 2.79 0.02 98% 98% Thread switch
|
142 |
|
|
|
143 |
|
|
0.12 0.02 0.65 0.15 74% 74% Scheduler lock
|
144 |
|
|
0.35 0.35 0.35 0.00 100% 100% Scheduler unlock [0 threads]
|
145 |
|
|
0.35 0.35 0.35 0.00 100% 100% Scheduler unlock [1 suspended]
|
146 |
|
|
0.43 0.35 1.17 0.13 78% 78% Scheduler unlock [many suspended]
|
147 |
|
|
0.45 0.35 1.17 0.15 75% 75% Scheduler unlock [many low prio]
|
148 |
|
|
|
149 |
|
|
0.46 0.15 3.38 0.30 62% 50% Init mutex
|
150 |
|
|
0.73 0.64 3.27 0.16 96% 96% Lock [unlocked] mutex
|
151 |
|
|
0.77 0.65 4.50 0.23 96% 96% Unlock [locked] mutex
|
152 |
|
|
0.58 0.55 1.42 0.05 96% 96% Trylock [unlocked] mutex
|
153 |
|
|
0.51 0.50 0.83 0.02 96% 96% Trylock [locked] mutex
|
154 |
|
|
0.12 0.11 0.41 0.02 96% 96% Destroy mutex
|
155 |
|
|
4.72 4.70 5.58 0.05 96% 96% Unlock/Lock mutex
|
156 |
|
|
|
157 |
|
|
1.01 0.67 3.48 0.40 71% 71% Create mbox
|
158 |
|
|
0.02 0.00 0.53 0.03 96% 96% Peek [empty] mbox
|
159 |
|
|
0.89 0.68 4.20 0.29 96% 71% Put [first] mbox
|
160 |
|
|
0.02 0.00 0.33 0.02 96% 96% Peek [1 msg] mbox
|
161 |
|
|
0.69 0.68 0.76 0.01 50% 46% Put [second] mbox
|
162 |
|
|
0.02 0.00 0.30 0.02 96% 96% Peek [2 msgs] mbox
|
163 |
|
|
0.81 0.71 3.83 0.19 96% 96% Get [first] mbox
|
164 |
|
|
0.72 0.71 1.02 0.02 96% 96% Get [second] mbox
|
165 |
|
|
0.81 0.65 2.74 0.22 96% 71% Tryput [first] mbox
|
166 |
|
|
0.67 0.62 2.27 0.10 96% 96% Peek item [non-empty] mbox
|
167 |
|
|
0.77 0.71 2.41 0.10 96% 96% Tryget [non-empty] mbox
|
168 |
|
|
0.59 0.58 0.88 0.02 96% 96% Peek item [empty] mbox
|
169 |
|
|
0.62 0.62 0.67 0.00 96% 96% Tryget [empty] mbox
|
170 |
|
|
0.03 0.02 0.32 0.02 96% 96% Waiting to get mbox
|
171 |
|
|
0.02 0.02 0.06 0.01 50% 46% Waiting to put mbox
|
172 |
|
|
0.75 0.65 3.59 0.18 96% 96% Delete mbox
|
173 |
|
|
2.80 2.77 3.59 0.05 96% 96% Put/Get mbox
|
174 |
|
|
|
175 |
|
|
0.37 0.18 0.88 0.28 71% 71% Init semaphore
|
176 |
|
|
0.48 0.47 0.80 0.02 96% 96% Post [0] semaphore
|
177 |
|
|
0.60 0.59 0.67 0.01 50% 46% Wait [1] semaphore
|
178 |
|
|
0.53 0.50 1.41 0.06 96% 96% Trywait [0] semaphore
|
179 |
|
|
0.51 0.50 0.71 0.01 96% 50% Trywait [1] semaphore
|
180 |
|
|
0.09 0.09 0.15 0.00 96% 96% Peek semaphore
|
181 |
|
|
0.12 0.11 0.41 0.02 96% 96% Destroy semaphore
|
182 |
|
|
3.05 3.05 3.05 0.00 100% 100% Post/Wait semaphore
|
183 |
|
|
|
184 |
|
|
0.57 0.17 2.76 0.24 59% 25% Create counter
|
185 |
|
|
0.06 0.05 0.58 0.03 96% 96% Get counter value
|
186 |
|
|
0.06 0.03 0.64 0.04 96% 96% Set counter value
|
187 |
|
|
0.73 0.71 1.02 0.02 96% 96% Tick counter
|
188 |
|
|
0.12 0.11 0.15 0.01 50% 46% Delete counter
|
189 |
|
|
|
190 |
|
|
0.89 0.64 3.15 0.34 84% 71% Create alarm
|
191 |
|
|
1.00 0.95 2.41 0.09 96% 96% Initialize alarm
|
192 |
|
|
0.09 0.06 0.68 0.04 96% 96% Disable alarm
|
193 |
|
|
1.05 1.00 2.48 0.09 96% 96% Enable alarm
|
194 |
|
|
0.18 0.17 0.50 0.02 96% 96% Delete alarm
|
195 |
|
|
0.90 0.89 1.11 0.01 96% 96% Tick counter [1 alarm]
|
196 |
|
|
5.60 5.59 5.88 0.02 96% 96% Tick counter [many alarms]
|
197 |
|
|
1.53 1.52 2.11 0.04 96% 96% Tick & fire counter [1 alarm]
|
198 |
|
|
25.48 25.47 25.76 0.02 96% 96% Tick & fire counters [>1 together]
|
199 |
|
|
6.22 6.21 6.44 0.01 96% 96% Tick & fire counters [>1 separately]
|
200 |
|
|
2.59 2.56 6.17 0.07 98% 98% Alarm latency [0 threads]
|
201 |
|
|
4.06 3.95 6.24 0.08 78% 57% Alarm latency [2 threads]
|
202 |
|
|
5.03 2.56 9.03 0.89 59% 10% Alarm latency [many threads]
|
203 |
|
|
5.68 5.59 15.45 0.15 99% 99% Alarm -> thread resume latency
|
204 |
|
|
|
205 |
|
|
2.52 1.41 8.12 0.00 Clock/interrupt latency
|
206 |
|
|
|
207 |
|
|
2.05 1.17 6.00 0.00 Clock DSR latency
|
208 |
|
|
|
209 |
|
|
34 0 1072 (main stack: 1320) Thread stack used (1912 total)
|
210 |
|
|
All done, main stack : stack used 1320 size 2936
|
211 |
|
|
All done : Interrupt stack used 136 size 4096
|
212 |
|
|
All done : Idlethread stack used 996 size 2048
|
213 |
|
|
|
214 |
|
|
Timing complete - 30360 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-tx39-jmr3904.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-mn10300-stdeval1.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: Toshiba JMR3904 Evaluation Board</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: Matsushita STDEVAL1 Board</TD
|
283 |
|
|
></TR
|
284 |
|
|
></TABLE
|
285 |
|
|
></DIV
|
286 |
|
|
></BODY
|
287 |
|
|
></HTML
|
288 |
|
|
>
|