1 <!-- 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. -->
12 >Board: NEC V850 Cosmo Evaluation Board</TITLE
13 ><meta name="MSSmartTagsPreventParsing" content="TRUE">
16 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
19 TITLE="eCos User Guide"
20 HREF="ecos-user-guide.html"><LINK
22 TITLE="Real-time characterization"
23 HREF="real-time-characterization.html"><LINK
26 HREF="rt-i386-pc.html"><LINK
28 TITLE="Board: NEC V850 Cosmo Evaluation Board"
29 HREF="rt-v850-cebsb1.html"></HEAD
40 SUMMARY="Header navigation table"
57 HREF="rt-i386-pc.html"
65 >Appendix B. Real-time characterization</TD
71 HREF="rt-v850-cebsb1.html"
85 NAME="RT-V850-CEBSA1">Board: NEC V850 Cosmo Evaluation Board</H1
94 >Board: NEC V850 Cosmo Evaluation Board
96 CPU: NEC CEB-V850/SA1 17MHz
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
103 Notes: all times are in microseconds (.000001) unless otherwise stated
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)
116 Scheduler operations: 128
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
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]
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
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
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
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
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
206 79.01 78.59 104.71 0.00 Clock/interrupt latency
208 123.41 85.88 1982.82 0.00 Clock DSR latency
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
215 Timing complete - 32540 ms total </PRE
225 SUMMARY="Footer navigation table"
236 HREF="rt-i386-pc.html"
245 HREF="ecos-user-guide.html"
254 HREF="rt-v850-cebsb1.html"
270 HREF="real-time-characterization.html"
278 >Board: NEC V850 Cosmo Evaluation Board</TD