搜索
bottom↓
回复: 7

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

[复制链接]

出0入0汤圆

发表于 2011-1-12 12:10:48 | 显示全部楼层 |阅读模式
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, 杜汶泽)

出0入0汤圆

发表于 2011-1-12 12:47:07 | 显示全部楼层
能上传一下移植好的完整的工程吗?传一个bin没有意义。。。

出0入0汤圆

发表于 2011-1-12 13:03:33 | 显示全部楼层
请教,它这个详细列表是如何得出来的?因为是50Mhz,还真有些不太好对比

出0入0汤圆

 楼主| 发表于 2011-1-12 13:09:24 | 显示全部楼层
回复【2楼】ffxz  
-----------------------------------------------------------------------

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

出0入0汤圆

发表于 2011-1-12 19:48:26 | 显示全部楼层
mark ,等待更详细的

出0入0汤圆

发表于 2011-1-13 13:00:44 | 显示全部楼层
没源码没真相。

出0入0汤圆

发表于 2011-1-13 13:47:55 | 显示全部楼层
没用过ECOS

出0入0汤圆

发表于 2011-1-16 21:54:05 | 显示全部楼层
也没用过ECOS
回帖提示: 反政府言论将被立即封锁ID 在按“提交”前,请自问一下:我这样表达会给举报吗,会给自己惹麻烦吗? 另外:尽量不要使用Mark、顶等没有意义的回复。不得大量使用大字体和彩色字。【本论坛不允许直接上传手机拍摄图片,浪费大家下载带宽和论坛服务器空间,请压缩后(图片小于1兆)才上传。压缩方法可以在微信里面发给自己(不要勾选“原图),然后下载,就能得到压缩后的图片。注意:要连续压缩2次才能满足要求!!】。另外,手机版只能上传图片,要上传附件需要切换到电脑版(不需要使用电脑,手机上切换到电脑版就行,页面底部)。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|Archiver|amobbs.com 阿莫电子技术论坛 ( 粤ICP备2022115958号, 版权所有:东莞阿莫电子贸易商行 创办于2004年 (公安交互式论坛备案:44190002001997 ) )

GMT+8, 2024-7-23 15:26

© Since 2004 www.amobbs.com, 原www.ourdev.cn, 原www.ouravr.com

快速回复 返回顶部 返回列表