This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
AW: where I can find tm_basic test outputs?
Hi All,
In principle such results are helpful to compare own ports.
I am testing my port for Atmel controllers in the moment, but I have no
possibility to compare my own result.
Who has some actual test result? My system is running with an ARM9 on
400MHz.
In principle our results are ok, but I am wondering a little bit about the
total elapsed time (34 seconds!)
13:43:13.092> Startup, main stack : stack used 208 size 2400
13:43:13.092> Startup : Interrupt stack used 4064 size 4096
13:43:13.092> Startup : Idlethread stack used 112 size 2048
13:43:13.092>
13:43:13.092> eCos Kernel Timings
13:43:13.092> Notes: all times are in microseconds (.000001) unless
otherwise stated
13:43:13.092> ##### main in
13:43:13.092> ##### main out
13:43:13.092>
13:43:13.092> Reading the hardware clock takes 1 'ticks' overhead
13:43:13.092> ... this value will be factored out of all other measurements
13:43:13.467> Clock interrupt took 3.21 microseconds (26 raw clock ticks)
13:43:13.467>
13:43:13.467> Testing parameters:
13:43:13.467> Clock samples: 32
13:43:13.467> Threads: 64
13:43:13.467> Thread switches: 128
13:43:13.467> Mutexes: 32
13:43:13.467> Mailboxes: 32
13:43:13.467> Semaphores: 32
13:43:13.467> Scheduler operations: 128
13:43:13.467> Counters: 32
13:43:13.467> Flags: 32
13:43:13.467> Alarms: 32
13:43:13.467>
13:43:13.467>
13:43:13.467> Confidence
13:43:13.467> Ave Min Max Var Ave Min Function
13:43:13.467> ====== ====== ====== ====== ========== ========
13:43:13.467> 12.65 11.28 15.24 0.55 60% 12% Create thread
13:43:13.685> 1.25 1.20 2.52 0.07 98% 73% Yield thread [all
suspended]
13:43:13.685> 1.10 0.96 2.52 0.10 50% 28% Suspend
[suspended] thread
13:43:13.685> 0.98 0.84 2.04 0.05 85% 4% Resume thread
13:43:13.685> 1.25 1.08 2.52 0.08 89% 7% Set priority
13:43:13.685> 0.08 0.00 0.24 0.07 42% 46% Get priority
13:43:13.685> 2.20 1.92 6.12 0.18 90% 46% Kill [suspended]
thread
13:43:13.685> 1.22 1.20 1.56 0.04 85% 85% Yield [no other]
thread
13:43:13.685> 1.39 1.20 2.64 0.12 68% 59% Resume [suspended
low prio] thread
13:43:13.685> 0.97 0.84 1.08 0.03 82% 4% Resume [runnable
low prio] thread
13:43:13.685> 1.21 1.08 2.28 0.05 76% 12% Suspend [runnable]
thread
13:43:13.685> 1.24 1.20 2.04 0.06 75% 75% Yield [only low
prio] thread
13:43:13.685> 0.98 0.96 1.44 0.03 90% 90% Suspend
[runnable->not runnable]
13:43:13.685> 2.01 1.80 3.48 0.11 85% 1% Kill [runnable]
thread
13:43:13.685> 2.28 2.04 4.68 0.15 84% 56% Destroy [dead]
thread
13:43:13.685> 3.83 3.60 5.28 0.14 75% 48% Destroy [runnable]
thread
13:43:13.685> 6.59 5.88 11.76 0.32 65% 12% Resume [high
priority] thread
13:43:20.092> 2.78 2.76 4.56 0.03 98% 98% Thread switch
13:43:20.092>
13:43:20.092> 0.09 0.00 0.36 0.04 76% 22% Scheduler lock
13:43:20.092> 0.89 0.84 0.96 0.06 56% 56% Scheduler unlock
[0 threads]
13:43:20.092> 0.89 0.84 0.96 0.06 56% 56% Scheduler unlock
[1 suspended]
13:43:20.404> 0.89 0.84 1.08 0.06 55% 55% Scheduler unlock
[many suspended]
13:43:20.404> 0.89 0.84 1.08 0.06 61% 61% Scheduler unlock
[many low prio]
13:43:20.404>
13:43:20.404> 0.37 0.24 1.32 0.07 68% 21% Init mutex
13:43:20.404> 1.46 1.20 3.72 0.15 93% 46% Lock [unlocked]
mutex
13:43:20.404> 1.49 1.32 4.08 0.17 96% 93% Unlock [locked]
mutex
13:43:20.404> 1.17 1.08 2.64 0.11 96% 59% Trylock [unlocked]
mutex
13:43:20.404> 1.13 1.08 1.44 0.06 65% 65% Trylock [locked]
mutex
13:43:20.404> 0.10 0.00 0.48 0.05 71% 25% Destroy mutex
13:43:20.967> 5.98 5.52 9.00 0.27 78% 40% Unlock/Lock mutex
13:43:20.967>
13:43:20.967> 0.38 0.24 1.08 0.06 75% 15% Create mbox
13:43:20.967> 0.21 0.12 0.48 0.08 37% 46% Peek [empty] mbox
13:43:20.967> 1.47 1.32 3.84 0.16 96% 90% Put [first] mbox
13:43:20.967> 0.06 0.00 0.12 0.06 53% 53% Peek [1 msg] mbox
13:43:20.967> 1.38 1.32 1.80 0.07 96% 62% Put [second] mbox
13:43:20.967> 0.06 0.00 0.12 0.06 53% 53% Peek [2 msgs] mbox
13:43:20.967> 1.43 1.32 3.48 0.15 96% 90% Get [first] mbox
13:43:20.967> 1.35 1.32 1.44 0.05 75% 75% Get [second] mbox
13:43:20.967> 1.32 1.20 2.64 0.09 59% 37% Tryput [first]
mbox
13:43:20.967> 1.13 1.08 1.92 0.08 96% 75% Peek item
[non-empty] mbox
13:43:20.967> 1.22 1.08 2.28 0.07 75% 18% Tryget [non-empty]
mbox
13:43:20.967> 1.10 1.08 1.32 0.04 84% 84% Peek item [empty]
mbox
13:43:20.967> 1.14 1.08 1.32 0.06 56% 56% Tryget [empty]
mbox
13:43:20.967> 0.06 0.00 0.24 0.06 96% 50% Waiting to get
mbox
13:43:20.967> 0.06 0.00 0.12 0.06 53% 53% Waiting to put
mbox
13:43:20.967> 0.16 0.12 0.36 0.06 71% 71% Delete mbox
13:43:20.967> 4.38 4.20 6.24 0.12 93% 90% Put/Get mbox
13:43:20.967>
13:43:22.201> 0.21 0.12 0.72 0.07 56% 40% Init semaphore
13:43:22.201> 0.96 0.84 1.44 0.06 62% 25% Post [0] semaphore
13:43:22.201> 1.02 0.96 1.08 0.06 53% 46% Wait [1] semaphore
13:43:22.201> 0.94 0.84 1.56 0.07 62% 34% Trywait [0]
semaphore
13:43:22.201> 0.93 0.84 0.96 0.05 75% 25% Trywait [1]
semaphore
13:43:22.201> 0.19 0.12 0.60 0.07 96% 53% Peek semaphore
13:43:22.201> 0.12 0.12 0.24 0.01 96% 96% Destroy semaphore
13:43:22.201> 3.66 3.60 4.32 0.09 93% 68% Post/Wait
semaphore
13:43:22.201>
13:43:22.201> 0.37 0.24 1.20 0.05 84% 12% Create counter
13:43:22.201> 0.21 0.00 0.84 0.12 71% 9% Get counter value
13:43:22.201> 0.09 0.00 0.36 0.08 40% 46% Set counter value
13:43:22.201> 1.04 0.96 1.68 0.08 93% 53% Tick counter
13:43:22.201> 0.12 0.00 0.36 0.04 75% 15% Delete counter
13:43:22.201>
13:43:22.201> 0.21 0.12 0.84 0.08 46% 46% Init flag
13:43:22.201> 1.05 0.96 2.28 0.10 96% 59% Destroy flag
13:43:22.201> 0.94 0.84 1.68 0.07 62% 34% Mask bits in flag
13:43:22.201> 1.05 0.96 2.16 0.10 96% 53% Set bits in flag
[no waiters]
13:43:22.201> 1.25 1.08 3.48 0.14 78% 96% Wait for flag
[AND]
13:43:22.201> 1.17 1.08 1.56 0.06 62% 34% Wait for flag [OR]
13:43:22.201> 1.19 1.08 1.44 0.03 84% 12% Wait for flag
[AND/CLR]
13:43:22.201> 1.16 1.08 1.32 0.06 56% 40% Wait for flag
[OR/CLR]
13:43:22.201> 0.05 0.00 0.24 0.06 59% 59% Peek on flag
13:43:22.201>
13:43:22.201> 0.57 0.48 2.04 0.12 90% 90% Create alarm
13:43:22.201> 1.52 1.20 3.72 0.20 87% 37% Initialize alarm
13:43:22.201> 0.95 0.84 1.20 0.07 53% 31% Disable alarm
13:43:22.201> 1.31 1.20 2.88 0.11 96% 53% Enable alarm
13:43:22.201> 1.02 0.96 1.56 0.07 96% 65% Delete alarm
13:43:22.201> 1.11 1.08 1.92 0.05 96% 96% Tick counter [1
alarm]
13:43:22.201> 3.24 3.12 3.60 0.03 84% 12% Tick counter [many
alarms]
13:43:22.201> 1.50 1.44 2.40 0.09 96% 71% Tick & fire
counter [1 alarm]
13:43:22.201> 15.56 15.48 15.72 0.06 56% 40% Tick & fire
counters [>1 together]
13:43:22.201> 3.63 3.60 3.96 0.05 81% 81% Tick & fire
counters [>1 separately]
13:43:27.967> 2.20 2.16 5.40 0.08 97% 95% Alarm latency [0
threads]
13:43:34.279> 2.29 2.16 7.32 0.09 70% 27% Alarm latency [2
threads]
13:43:40.654> 3.01 2.40 9.84 0.22 57% 4% Alarm latency
[many threads]
13:43:47.029> 4.81 4.68 8.16 0.09 57% 28% Alarm -> thread
resume latency
13:43:47.029>
13:43:47.138> 22 0 1120 (main stack: 2400) Thread stack used
(1120 total)
13:43:47.138> All done, main stack : stack used 860 size 2400
13:43:47.138> All done : Interrupt stack used 108 size 4096
13:43:47.138> All done : Idlethread stack used 112 size 2048
13:43:47.138>
13:43:47.138> Timing complete - 34120 ms total
13:43:47.138>
13:43:47.138> ### _run_all_tests out
13:43:47.138> PASS:<Basic timing OK>
13:43:47.138> EXIT:<done>
Richard Rauch
email: rrauch@itrgmbh.de
_______________________________________________
ITR GmbH
Informationstechnologie Rauch
Schnepfenreuther Hauptstrasse 27b
D-90425 Nuernberg
phone: +49 (0) 911 3784437
VoIP: +49 (0) 911 495221739
web: http://www.itrgmbh.de
email: info@itrgmbh.de
Geschaeftsfuehrer: Richard Rauch
Handelsregister: Nuernberg HR B 21676
USt-Id Nr. : DE228051873
_______________________________________________
-----Ursprüngliche Nachricht-----
Von: ecos-discuss-owner@ecos.sourceware.org
[mailto:ecos-discuss-owner@ecos.sourceware.org] Im Auftrag von Gary Thomas
Gesendet: Dienstag, 10. Mai 2011 16:07
An: Sergei Gavrikov
Cc: Richard Rauch; ecos-discuss@ecos.sourceware.org
Betreff: Re: [ECOS] where I can find tm_basic test outputs?
On 05/10/2011 08:02 AM, Sergei Gavrikov wrote:
> On Tue, 10 May 2011, Richard Rauch wrote:
>
>> Hi all,
>>
>> Are somewhere outputs from the tm_basic test available?
>> Such test outputs from several platforms would be a good reference
>> for comparing different microcontrollers, platforms or the quality of
>> eCos portings.
>
> There are a few same outputs in Appendix B of eCos User Guide, take a
> look here:
> http://ecos.sourceware.org/docs-latest/user-guide/real-time-characteri
> zation.html
Keep in mind that those results are more than 10 years old :-)
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss