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: NEC V850 Cosmo 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: PC"
|
26 |
|
|
HREF="rt-i386-pc.html"><LINK
|
27 |
|
|
REL="NEXT"
|
28 |
|
|
TITLE="Board: NEC V850 Cosmo Evaluation Board"
|
29 |
|
|
HREF="rt-v850-cebsb1.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-i386-pc.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-cebsb1.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-V850-CEBSA1">Board: NEC V850 Cosmo 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: NEC V850 Cosmo Evaluation Board
|
95 |
|
|
|
96 |
|
|
CPU: NEC CEB-V850/SA1 17MHz
|
97 |
|
|
|
98 |
|
|
Startup, main stack : stack used 552 size 2936
|
99 |
|
|
Startup : Interrupt stack used 120 size 4096
|
100 |
|
|
Startup : Idlethread stack used 206 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 27 `ticks' overhead
|
106 |
|
|
... this value will be factored out of all other measurements
|
107 |
|
|
Clock interrupt took 280.04 microseconds (1190 raw clock ticks)
|
108 |
|
|
|
109 |
|
|
Testing parameters:
|
110 |
|
|
Clock samples: 32
|
111 |
|
|
Threads: 7
|
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 |
|
|
288.71 280.24 297.18 4.84 42% 28% Create thread
|
125 |
|
|
70.76 70.59 70.82 0.10 71% 28% Yield thread [all suspended]
|
126 |
|
|
59.06 59.06 59.06 0.00 100% 100% Suspend [suspended] thread
|
127 |
|
|
60.00 60.00 60.00 0.00 100% 100% Resume thread
|
128 |
|
|
77.38 77.18 77.41 0.06 85% 14% Set priority
|
129 |
|
|
3.13 3.06 3.29 0.10 71% 71% Get priority
|
130 |
|
|
187.46 187.29 187.53 0.10 71% 28% Kill [suspended] thread
|
131 |
|
|
70.76 70.59 70.82 0.10 71% 28% Yield [no other] thread
|
132 |
|
|
104.40 103.29 104.71 0.32 85% 14% Resume [suspended low prio] thread
|
133 |
|
|
59.06 59.06 59.06 0.00 100% 100% Resume [runnable low prio] thread
|
134 |
|
|
97.11 91.06 98.12 1.73 85% 14% Suspend [runnable] thread
|
135 |
|
|
70.76 70.59 70.82 0.10 71% 28% Yield [only low prio] thread
|
136 |
|
|
59.06 59.06 59.06 0.00 100% 100% Suspend [runnable->not runnable]
|
137 |
|
|
187.46 187.29 187.53 0.10 71% 28% Kill [runnable] thread
|
138 |
|
|
95.63 95.29 97.18 0.44 85% 85% Destroy [dead] thread
|
139 |
|
|
241.28 236.94 242.12 1.24 85% 14% Destroy [runnable] thread
|
140 |
|
|
378.55 370.35 427.06 13.86 85% 85% Resume [high priority] thread
|
141 |
|
|
198.77 183.76 452.94 18.77 96% 96% Thread switch
|
142 |
|
|
|
143 |
|
|
2.59 2.59 2.59 0.00 100% 100% Scheduler lock
|
144 |
|
|
41.29 41.18 41.41 0.12 100% 50% Scheduler unlock [0 threads]
|
145 |
|
|
40.82 40.71 40.94 0.12 100% 50% Scheduler unlock [1 suspended]
|
146 |
|
|
41.29 41.18 41.41 0.12 100% 50% Scheduler unlock [many suspended]
|
147 |
|
|
41.29 41.18 41.41 0.12 100% 50% Scheduler unlock [many low prio]
|
148 |
|
|
|
149 |
|
|
17.94 17.88 18.12 0.09 75% 75% Init mutex
|
150 |
|
|
68.71 68.71 68.71 0.00 100% 100% Lock [unlocked] mutex
|
151 |
|
|
72.10 72.00 73.41 0.15 96% 71% Unlock [locked] mutex
|
152 |
|
|
57.88 57.88 57.88 0.00 100% 100% Trylock [unlocked] mutex
|
153 |
|
|
52.24 52.24 52.24 0.00 100% 100% Trylock [locked] mutex
|
154 |
|
|
12.41 12.24 12.47 0.09 75% 25% Destroy mutex
|
155 |
|
|
427.06 427.06 427.06 0.00 100% 100% Unlock/Lock mutex
|
156 |
|
|
|
157 |
|
|
|
158 |
|
|
34.94 34.82 35.06 0.12 100% 50% Create mbox
|
159 |
|
|
0.76 0.71 0.94 0.09 75% 75% Peek [empty] mbox
|
160 |
|
|
75.29 75.29 75.29 0.00 100% 100% Put [first] mbox
|
161 |
|
|
1.24 1.18 1.41 0.09 75% 75% Peek [1 msg] mbox
|
162 |
|
|
75.76 75.76 75.76 0.00 100% 100% Put [second] mbox
|
163 |
|
|
0.76 0.71 0.94 0.09 75% 75% Peek [2 msgs] mbox
|
164 |
|
|
80.12 80.00 80.24 0.12 100% 50% Get [first] mbox
|
165 |
|
|
79.65 79.53 79.76 0.12 100% 50% Get [second] mbox
|
166 |
|
|
70.12 70.12 70.12 0.00 100% 100% Tryput [first] mbox
|
167 |
|
|
65.76 65.65 65.88 0.12 100% 50% Peek item [non-empty] mbox
|
168 |
|
|
78.00 77.88 78.12 0.12 100% 50% Tryget [non-empty] mbox
|
169 |
|
|
63.12 63.06 63.29 0.09 75% 75% Peek item [empty] mbox
|
170 |
|
|
67.82 67.76 68.00 0.09 75% 75% Tryget [empty] mbox
|
171 |
|
|
1.94 1.88 2.12 0.09 75% 75% Waiting to get mbox
|
172 |
|
|
1.47 1.41 1.65 0.09 75% 75% Waiting to put mbox
|
173 |
|
|
75.59 75.53 75.76 0.09 75% 75% Delete mbox
|
174 |
|
|
252.76 252.71 252.94 0.09 75% 75% Put/Get mbox
|
175 |
|
|
|
176 |
|
|
20.24 20.24 20.24 0.00 100% 100% Init semaphore
|
177 |
|
|
54.35 54.35 54.35 0.00 100% 100% Post [0] semaphore
|
178 |
|
|
66.59 66.59 66.59 0.00 100% 100% Wait [1] semaphore
|
179 |
|
|
52.24 52.24 52.24 0.00 100% 100% Trywait [0] semaphore
|
180 |
|
|
53.41 53.41 53.41 0.00 100% 100% Trywait [1] semaphore
|
181 |
|
|
10.65 10.59 10.82 0.09 75% 75% Peek semaphore
|
182 |
|
|
12.65 12.47 12.71 0.09 75% 25% Destroy semaphore
|
183 |
|
|
276.94 276.94 276.94 0.00 100% 100% Post/Wait semaphore
|
184 |
|
|
|
185 |
|
|
14.94 14.82 15.06 0.12 100% 50% Create counter
|
186 |
|
|
2.18 2.12 2.35 0.09 75% 75% Get counter value
|
187 |
|
|
3.06 3.06 3.06 0.00 100% 100% Set counter value
|
188 |
|
|
78.12 78.12 78.12 0.00 100% 100% Tick counter
|
189 |
|
|
13.82 13.65 13.88 0.09 75% 25% Delete counter
|
190 |
|
|
|
191 |
|
|
26.94 26.82 27.06 0.12 100% 50% Create alarm
|
192 |
|
|
104.18 104.00 104.24 0.09 75% 25% Initialize alarm
|
193 |
|
|
7.65 7.53 7.76 0.12 100% 50% Disable alarm
|
194 |
|
|
104.94 104.94 104.94 0.00 100% 100% Enable alarm
|
195 |
|
|
19.47 19.29 19.53 0.09 75% 25% Delete alarm
|
196 |
|
|
88.53 88.47 88.71 0.09 75% 75% Tick counter [1 alarm]
|
197 |
|
|
418.61 411.29 645.41 14.17 96% 96% Tick counter [many alarms]
|
198 |
|
|
139.59 139.53 139.76 0.09 75% 75% Tick & fire counter [1 alarm]
|
199 |
|
|
2150.21 2096.71 2367.53 83.59 78% 78% Tick & fire counters [>1 together]
|
200 |
|
|
478.15 462.35 733.41 29.61 93% 93% Tick & fire counters [>1 separately]
|
201 |
|
|
219.89 218.59 369.88 2.34 99% 99% Alarm latency [0 threads]
|
202 |
|
|
292.11 218.59 371.53 37.85 50% 25% Alarm latency [2 threads]
|
203 |
|
|
292.96 218.59 370.59 38.12 49% 25% Alarm latency [many threads]
|
204 |
|
|
540.90 495.76 1677.41 17.76 98% 0% Alarm -> thread resume latency
|
205 |
|
|
|
206 |
|
|
79.01 78.59 104.71 0.00 Clock/interrupt latency
|
207 |
|
|
|
208 |
|
|
123.41 85.88 1982.82 0.00 Clock DSR latency
|
209 |
|
|
|
210 |
|
|
522 516 536 (main stack: 1124) Thread stack used (1912 total)
|
211 |
|
|
All done, main stack : stack used 1124 size 2936
|
212 |
|
|
All done : Interrupt stack used 288 size 4096
|
213 |
|
|
All done : Idlethread stack used 488 size 2048
|
214 |
|
|
|
215 |
|
|
Timing complete - 32540 ms total </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-i386-pc.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-v850-cebsb1.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: PC</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: NEC V850 Cosmo Evaluation Board</TD
|
279 |
|
|
></TR
|
280 |
|
|
></TABLE
|
281 |
|
|
></DIV
|
282 |
|
|
></BODY
|
283 |
|
|
></HTML
|
284 |
|
|
>
|