ronggangxt 发表于 2011-1-12 12:10:48

贴一个ecos3.0在TI lm3s2965开发板的Real-time characterization(包括bin)方便rt-th

LM3s2965 running at 50MHz,采用ecos3.0默认的kernel模块,将bin档烧录到lm3s2965,pc端的串口波特率设置为38400即可。

.            Startup, main stack : stack used   368 size3920
             Startup : Idlethread stack used    76 size2048

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   VarAveMinFunction
======================== ========== ========
   11.31   10.00   13.00    0.77   68%18% Create thread
    5.25    5.00    6.00    0.38   75%75% Yield thread
    5.19    5.00    6.00    0.30   81%81% Suspend 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.50100%50% Kill thread
    5.31    5.00    6.00    0.43   68%68% Yield thread
    7.13    7.00    8.00    0.22   87%87% Resume thread
    5.19    5.00    6.00    0.30   81%81% Resume thread
    6.69    6.00    7.00    0.43   68%31% Suspend thread
    5.31    5.00    6.00    0.43   68%68% Yield thread
    5.13    5.00    6.00    0.22   87%87% Suspend
   16.56   16.00   17.00    0.49   56%43% Kill thread
    9.25    9.00   10.00    0.38   75%75% Destroy thread
   22.69   22.00   23.00    0.43   68%31% Destroy thread
   25.75   25.00   30.00    0.75   93%50% Resume 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
    3.07    3.00    4.00    0.13   92%92% Scheduler unlock
    3.09    3.00    4.00    0.16   91%91% Scheduler unlock
    3.07    3.00    4.00    0.13   92%92% Scheduler unlock

    1.03    1.00    2.00    0.06   96%96% Init mutex
    6.31    6.00    7.00    0.43   68%68% Lock mutex
    6.13    6.00    7.00    0.22   87%87% Unlock mutex
    5.13    5.00    6.00    0.22   87%87% Trylock mutex
    5.09    5.00    6.00    0.17   90%90% Trylock 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 mbox
    5.97    5.00    6.00    0.06   96%   3% Put mbox
    0.72    0.00    1.00    0.40   71%28% Peek mbox
    6.00    6.00    6.00    0.00100% 100% Put mbox
    0.69    0.00    1.00    0.43   68%31% Peek mbox
    6.47    6.00    7.00    0.50   53%53% Get mbox
    6.47    6.00    7.00    0.50   53%53% Get mbox
    5.50    5.00    6.00    0.50100%50% Tryput mbox
    5.25    5.00    6.00    0.38   75%75% Peek item mbox
    5.53    5.00    6.00    0.50   53%46% Tryget mbox
    5.06    5.00    6.00    0.12   93%93% Peek item mbox
    5.19    5.00    6.00    0.30   81%81% Tryget 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 semaphore
    5.56    5.00    6.00    0.49   56%43% Wait semaphore
    5.00    5.00    5.00    0.00100% 100% Trywait semaphore
    5.00    5.00    5.00    0.00100% 100% Trywait semaphore
    1.00    1.00    1.00    0.00100% 100% Peek semaphore
    1.00    1.00    1.00    0.00100% 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.00100% 100% Delete counter

    0.97    0.00    1.00    0.06   96%   3% Init flag
    4.50    4.00    5.00    0.50100%50% Destroy flag
    5.00    5.00    5.00    0.00100% 100% Mask bits in flag
    5.19    5.00    6.00    0.30   81%81% Set bits in flag
    7.97    7.00    8.00    0.06   96%   3% Wait for flag
    7.78    7.00    8.00    0.34   78%21% Wait for flag
    8.00    8.00    8.00    0.00100% 100% Wait for flag
    7.78    7.00    8.00    0.34   78%21% Wait for flag
    0.63    0.00    1.00    0.47   62%37% Peek on flag

    2.00    2.00    2.00    0.00100% 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
   22.09   22.00   23.00    0.17   90%90% Tick counter
    9.13    9.00   10.00    0.22   87%87% Tick & fire counter
146.19146.00147.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
   19.73   18.00   30.00    1.15   34%33% Alarm latency
   19.63   18.00   31.00    1.01   61%57% Alarm latency
   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 size3920
            All done : Idlethread stack used   172 size2048

Timing complete - 29670 ms total

PASS:<Basic timing OK>
EXIT:<done>

bin档,请下载后将后缀.zip去掉。ourdev_610728I78US4.zip(文件大小:104K) (原文件名:mqueue.bin.zip)

_yuming 发表于 2011-1-12 12:47:07

能上传一下移植好的完整的工程吗?传一个bin没有意义。。。

ffxz 发表于 2011-1-12 13:03:33

请教,它这个详细列表是如何得出来的?因为是50Mhz,还真有些不太好对比

ronggangxt 发表于 2011-1-12 13:09:24

回复【2楼】ffxz
-----------------------------------------------------------------------

这个是ecos 自带的测试程序pakages/kernel/current/tests/tm_basic.cxx。

liurangzhou 发表于 2011-1-12 19:48:26

mark ,等待更详细的

bygreencn 发表于 2011-1-13 13:00:44

没源码没真相。

eworker 发表于 2011-1-13 13:47:55

没用过ECOS

hwdpaley 发表于 2011-1-16 21:54:05

也没用过ECOS
页: [1]
查看完整版本: 贴一个ecos3.0在TI lm3s2965开发板的Real-time characterization(包括bin)方便rt-th