嵌入式软件测试资料

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
Copyright McCabe & Associates 1998
ห้องสมุดไป่ตู้
Performance Analysis
Function Analysis – Min. and max. time , Average , Total Time – Passes – Include and exclude time Link Analysis – Callers – Min. and max. times – Calls Function Nesting – Shows function call hierarchy – Time suspend in subroutines
软件实时在线测试
问题的提出 – 系统效率为什么如此低,问题在哪里? – 系统采集的数据与现场相差甚远,原因何在? – 系统运行中,时常复位,硬件,软件工程师百思不
得其解? – 系统软件随机跑飞,何处使然 ? – 如何捕捉系统软件随机和偶然故障 ?
Copyright McCabe & Associates 1998
Copyright McCabe & Associates 1998
RTOS Analysis
Highlights – Statistic evaluation and graphic display of task
run times – Task related evaluation of function run times – Statistic evaluation and graphic display of task
states – Manual executed system calls – Task stack coverage – PRACTICE functions for OS data – RTOS related pull-down menu – Task selective debugging
Copyright McCabe & Associates 1998
Copyright McCabe & Associates 1998
Coverage Analysis
Controlled by software, the captured address ranges can be collected. – Display of captured addresse – Display of captured functions – Selection of Address Ranges
Copyright McCabe & Associates 1998
Performance Analysis
Function Timechart – View critical program paths – Documentation Duration – Execution time – Response time Distance – Time between samples Distribution – Interface analysis – Interrupt analysis – System state analysis – Statistical analysis
Copyright McCabe & Associates 1998
Copyright McCabe & Associates 1998
Performance Analysis
The statistic unit measures independently from the trace memory, the run time of specific modules of the program. Using this, the average execution time, the average execution frequency and the absolute number of calls to the entry point of a routine can be measured. Up to 63 routines can be monitored in this way
Modules Functions Address ranges Automatic Modes Scanning Modes
Copyright McCabe & Associates 1998
Coverage Analysis
Coverage Trendency with time Display the excuted code and non excuted code the ratio of fuction or module coverage the covrage display by histogram and statistics diagram
软件实时在线测试
在线测 试包括: – Coverage Analysis – Performance Analysis – Trace Data Analysis – RTOS Analysis
Copyright McCabe & Associates 1998
软件实时在线测试
在线测试实现的方法 – 软件原码插桩,
对Performance Analysis影响巨大 – 硬件配合,无须插桩
对Performance Analysis无影响。
Copyright McCabe & Associates 1998
软件实时在线测试
在线测试作用 – 系统软件评估与评测 – 系统性能评估与评测 – 指导软件优化 – 集成测试和系统测试
RTOS Analysis
Display of Kernel Resources – Tasks – Queues/Semaphores – Memory usage – Mailboxes – Display 'on the fly'
Copyright McCabe & Associates 1998
相关文档
最新文档