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. -->
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
25 TITLE="Board: Hitachi Solution Engine 7751 SH4 (se7751)"
26 HREF="rt-sh-se7751.html"><LINK
28 TITLE="Board: NEC V850 Cosmo Evaluation Board"
29 HREF="rt-v850-cebsa1.html"></HEAD
40 SUMMARY="Header navigation table"
57 HREF="rt-sh-se7751.html"
65 >Appendix B. Real-time characterization</TD
71 HREF="rt-v850-cebsa1.html"
85 NAME="RT-I386-PC">Board: PC</H1
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
103 Notes: all times are in microseconds (.000001) unless otherwise stated
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)
116 Scheduler operations: 128
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
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]
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
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
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
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
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
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
210 Timing complete - 28520 ms total
212 PASS:<Basic timing OK>
213 EXIT:<done> </PRE
223 SUMMARY="Footer navigation table"
234 HREF="rt-sh-se7751.html"
243 HREF="ecos-user-guide.html"
252 HREF="rt-v850-cebsa1.html"
262 >Board: Hitachi Solution Engine 7751 SH4 (se7751)</TD
268 HREF="real-time-characterization.html"
276 >Board: NEC V850 Cosmo Evaluation Board</TD