CodeTest - PowerPoint PPT Presentation

About This Presentation
Title:

CodeTest

Description:

Can be used in three configurations: Hardware in circuit (HWIC) Minimal instrumentation ... Workspace pane. Displays and manages different views. Interface to ... – PowerPoint PPT presentation

Number of Views:40
Avg rating:3.0/5.0
Slides: 18
Provided by: ValuedGate2215
Category:

less

Transcript and Presenter's Notes

Title: CodeTest


1
CodeTest
Embedded Software Verification Tools
By Advanced Microsystems Corporation
Last update August 9, 2002
2
CodeTest - Introduction
  • Tool for embedded developers and test engineers
  • Can run on
  • Target processor
  • Simulator
  • Native environment (Host environment)

3
CodeTest Introduction 2
  • Can be used in three configurations
  • Hardware in circuit (HWIC)
  • Minimal instrumentation
  • Execution trace data captured by special external
    hardware
  • Software in circuit (SWIC)
  • Uses target resources for collecting trace data
  • Can be used in a simulator or target platform
  • Native
  • Used to collect trace data in host environments

4
CodeTest Supported Platforms
  • RTOSes supported
  • VxWorks (v5.3.1, v5.4)
  • VxWorks AE (v1.1)
  • pSOS (v2.2, v2.5)
  • OSE (v4.0-v4.4)
  • ChorusOS (v4.0, v4.01)
  • OS20 (v1.8)
  • QNX (v2.11)

5
CodeTest Supported Platforms 2
  • Host Environments supported
  • Windows NT4.0/2000
  • Linux (Redhat 6.1 or higher)
  • Solaris 2.6, 2.7, 2.8

6
CodeTest Tasks
  • CodeTest can
  • Trace code execution
  • Measure the performance of
  • Functions
  • Function call pairs
  • Between any two user-designated events
  • Measure memory allocation and deallocation
  • Measure code coverage

7
CodeTest Components
  • CodeTest software suite consists of
  • Instrumenter
  • Manager GUI
  • Trace Tool
  • Performance Tool
  • Memory Tool
  • Coverage Tool
  • Scripting interface API
  • Also contains a specialized hardware probe for
    real-time analysis of target platform

8
CodeTest Manager GUI
  • Configure Data sources
  • Target platforms on the network
  • Other host nodes
  • Trace data stored in files
  • Specialized hardware probe on the network
  • Workspace pane
  • Displays and manages different views
  • Interface to the other tools

9
CodeTest HW Probe
  • Special 64-bit write-only memory device
  • Monitors target bus
  • Contains
  • RS232 Serial connector
  • Ethernet port
  • USB port
  • Variety of hardware
  • connectors for different buses
  • Configured by the manager GUI
  • Can be used as the data source for
  • trace data

10
CodeTest Coverage Tool
  • Provides information about the tested coverage of
    instrumented application
  • Summary Coverage data reported at following
    levels
  • Entire project
  • Per function
  • Per file
  • Provides
  • Statement coverage
  • Decision coverage
  • Modified Condition-Decision coverage

11
CodeTest Memory Tool
  • Used to track applications dynamic memory
    allocation and deallocation
  • Provides information on
  • Each functions memory usage
  • Source program memory usage
  • Number of times individual memory allocation and
    deallocation statements are executed
  • Type of allocation call (malloc/realloc)
  • Memory allocation block sizes (Avg., Min. and
    Max.)
  • Memory allocation failures

12
CodeTest Performance Tool
  • Used to obtain timing and count information on
    instrumented functions and tasks
  • Provides four performance views
  • Task data view Amount of time spent in RTOS
    tasks and ISRs
  • Call pair data view Each calling function and
    number of times it called a specific function
  • Function performance data view Timing and
    invocation information for each function
  • A/B Timer data view Timing information for upto
    8 user configurable event pairs

13
CodeTest A/B Timers
  • Can be used to measure performance between any
    two events
  • Could be used for
  • Loop analysis
  • Execution path analysis
  • RTOS overhead or third party tools overhead
    analysis
  • Path dependent performance analysis

14
CodeTest A/B Timers Example Loop analysis
15
CodeTest A/B Timers Example Path based
analysis
16
CodeTest A/B Timers Example Third party
analysis
17
CodeTest Trace Tool
  • Create trace measurements based on wide variety
    of trigger events, including C statement types.
  • Can be used to
  • Trigger trace capture on specific events
  • Trace within a specific context (Task, function
    call chain or both)
  • Control the amount of trace captured (Call stack
    depth, Trace buffer limit)
Write a Comment
User Comments (0)
About PowerShow.com