|
LM3s2965 running at 50MHz,采用ecos3.0默认的kernel模块,将bin档烧录到lm3s2965,pc端的串口波特率设置为38400即可。
. Startup, main stack : stack used 368 size 3920
Startup : Idlethread stack used 76 size 2048
eCos Kernel Timings
Notes: all times are in microseconds (.000001) unless otherwise stated
Reading the hardware clock takes 0 'ticks' overhead
... this value will be factored out of all other measurements
Clock interrupt took 23.38 microseconds (23 raw clock ticks)
Testing parameters:
Clock samples: 32
Threads: 16
Thread switches: 128
Mutexes: 32
Mailboxes: 32
Semaphores: 32
Scheduler operations: 128
Counters: 32
Flags: 32
Alarms: 32
Confidence
Ave Min Max Var Ave Min Function
====== ====== ====== ====== ========== ========
11.31 10.00 13.00 0.77 68% 18% Create thread
5.25 5.00 6.00 0.38 75% 75% Yield thread [all suspended]
5.19 5.00 6.00 0.30 81% 81% Suspend [suspended] thread
5.19 5.00 6.00 0.30 81% 81% Resume thread
6.25 6.00 7.00 0.38 75% 75% Set priority
0.63 0.00 1.00 0.47 62% 37% Get priority
16.50 16.00 17.00 0.50 100% 50% Kill [suspended] thread
5.31 5.00 6.00 0.43 68% 68% Yield [no other] thread
7.13 7.00 8.00 0.22 87% 87% Resume [suspended low prio] thread
5.19 5.00 6.00 0.30 81% 81% Resume [runnable low prio] thread
6.69 6.00 7.00 0.43 68% 31% Suspend [runnable] thread
5.31 5.00 6.00 0.43 68% 68% Yield [only low prio] thread
5.13 5.00 6.00 0.22 87% 87% Suspend [runnable->not runnable]
16.56 16.00 17.00 0.49 56% 43% Kill [runnable] thread
9.25 9.00 10.00 0.38 75% 75% Destroy [dead] thread
22.69 22.00 23.00 0.43 68% 31% Destroy [runnable] thread
25.75 25.00 30.00 0.75 93% 50% Resume [high priority] thread
9.41 9.00 12.00 0.50 60% 60% Thread switch
1.59 1.00 2.00 0.49 58% 41% Scheduler lock
3.07 3.00 4.00 0.13 92% 92% Scheduler unlock [0 threads]
3.07 3.00 4.00 0.13 92% 92% Scheduler unlock [1 suspended]
3.09 3.00 4.00 0.16 91% 91% Scheduler unlock [many suspended]
3.07 3.00 4.00 0.13 92% 92% Scheduler unlock [many low prio]
1.03 1.00 2.00 0.06 96% 96% Init mutex
6.31 6.00 7.00 0.43 68% 68% Lock [unlocked] mutex
6.13 6.00 7.00 0.22 87% 87% Unlock [locked] mutex
5.13 5.00 6.00 0.22 87% 87% Trylock [unlocked] mutex
5.09 5.00 6.00 0.17 90% 90% Trylock [locked] mutex
1.19 1.00 2.00 0.30 81% 81% Destroy mutex
28.53 28.00 29.00 0.50 53% 46% Unlock/Lock mutex
1.25 1.00 2.00 0.38 75% 75% Create mbox
0.72 0.00 1.00 0.40 71% 28% Peek [empty] mbox
5.97 5.00 6.00 0.06 96% 3% Put [first] mbox
0.72 0.00 1.00 0.40 71% 28% Peek [1 msg] mbox
6.00 6.00 6.00 0.00 100% 100% Put [second] mbox
0.69 0.00 1.00 0.43 68% 31% Peek [2 msgs] mbox
6.47 6.00 7.00 0.50 53% 53% Get [first] mbox
6.47 6.00 7.00 0.50 53% 53% Get [second] mbox
5.50 5.00 6.00 0.50 100% 50% Tryput [first] mbox
5.25 5.00 6.00 0.38 75% 75% Peek item [non-empty] mbox
5.53 5.00 6.00 0.50 53% 46% Tryget [non-empty] mbox
5.06 5.00 6.00 0.12 93% 93% Peek item [empty] mbox
5.19 5.00 6.00 0.30 81% 81% Tryget [empty] mbox
0.75 0.00 1.00 0.38 75% 25% Waiting to get mbox
0.75 0.00 1.00 0.38 75% 25% Waiting to put mbox
1.19 1.00 2.00 0.30 81% 81% Delete mbox
20.22 20.00 21.00 0.34 78% 78% Put/Get mbox
0.97 0.00 1.00 0.06 96% 3% Init semaphore
5.03 5.00 6.00 0.06 96% 96% Post [0] semaphore
5.56 5.00 6.00 0.49 56% 43% Wait [1] semaphore
5.00 5.00 5.00 0.00 100% 100% Trywait [0] semaphore
5.00 5.00 5.00 0.00 100% 100% Trywait [1] semaphore
1.00 1.00 1.00 0.00 100% 100% Peek semaphore
1.00 1.00 1.00 0.00 100% 100% Destroy semaphore
19.34 19.00 20.00 0.45 65% 65% Post/Wait semaphore
1.38 1.00 2.00 0.47 62% 62% Create counter
0.88 0.00 1.00 0.22 87% 12% Get counter value
0.69 0.00 1.00 0.43 68% 31% Set counter value
4.81 4.00 5.00 0.31 81% 18% Tick counter
1.00 1.00 1.00 0.00 100% 100% Delete counter
0.97 0.00 1.00 0.06 96% 3% Init flag
4.50 4.00 5.00 0.50 100% 50% Destroy flag
5.00 5.00 5.00 0.00 100% 100% Mask bits in flag
5.19 5.00 6.00 0.30 81% 81% Set bits in flag [no waiters]
7.97 7.00 8.00 0.06 96% 3% Wait for flag [AND]
7.78 7.00 8.00 0.34 78% 21% Wait for flag [OR]
8.00 8.00 8.00 0.00 100% 100% Wait for flag [AND/CLR]
7.78 7.00 8.00 0.34 78% 21% Wait for flag [OR/CLR]
0.63 0.00 1.00 0.47 62% 37% Peek on flag
2.00 2.00 2.00 0.00 100% 100% Create alarm
8.91 8.00 9.00 0.17 90% 9% Initialize alarm
4.28 4.00 5.00 0.40 71% 71% Disable alarm
6.84 6.00 7.00 0.26 84% 15% Enable alarm
4.63 4.00 5.00 0.47 62% 37% Delete alarm
5.22 5.00 6.00 0.34 78% 78% Tick counter [1 alarm]
22.09 22.00 23.00 0.17 90% 90% Tick counter [many alarms]
9.13 9.00 10.00 0.22 87% 87% Tick & fire counter [1 alarm]
146.19 146.00 147.00 0.30 81% 81% Tick & fire counters [>1 together]
25.91 25.00 26.00 0.17 90% 9% Tick & fire counters [>1 separately]
21.07 21.00 30.00 0.14 99% 99% Alarm latency [0 threads]
19.73 18.00 30.00 1.15 34% 33% Alarm latency [2 threads]
19.63 18.00 31.00 1.01 61% 57% Alarm latency [many threads]
35.30 35.00 74.00 0.60 99% 99% Alarm -> thread resume latency
1.00 1.00 1.00 0.00 Clock/interrupt latency
7.44 5.00 9.00 0.00 Clock DSR latency
192 172 208 (main stack: 847) Thread stack used (1360 total)
All done, main stack : stack used 847 size 3920
All done : Idlethread stack used 172 size 2048
Timing complete - 29670 ms total
PASS:<Basic timing OK>
EXIT:<done>
bin档,请下载后将后缀.zip去掉。ourdev_610728I78US4.zip(文件大小:104K) (原文件名:mqueue.bin.zip) |
阿莫论坛20周年了!感谢大家的支持与爱护!!
知道什么是神吗?其实神本来也是人,只不过神做了人做不到的事情 所以才成了神。 (头文字D, 杜汶泽)
|