Skip to main content
  • 产品
  • Evaluate our Software
  • 下载
  • Free Utilities
  • 购买
  • 芯片厂商
  • 支持
  • 关于我们
  • Search
  • 工作机会
  • 新闻简报
  • 联系我们
  • Ozone - debugger and performance analyzer
  • Trace Reports

    Trace reports

    Ozone trace reports export execution data from instruction tracing for external analysis & documentation.

    Contact us
    Downloads
    SEGGER Ozone
    1. 1.Understanding Instruction Trace Export
    2. 2.Code Coverage and Profiling Reports
    3. 3.Automated Testing

    After running a test application and collecting trace data, further analysis of the information might need to be done. Data may also have to be stored for QA processes or certification. Ozone lets you save debug snapshots for later analysis within the tool. This allows you to export trace information for use in external tools.

    ozone-instructiontrace-export

    Understanding Instruction Trace Export

    All information from the Instruction Trace Window can be exported into a CSV file. The export file contains all instructions as shown in Ozone. This includes address, encoding, corresponding source line, and execution timestamp. This information can be used with external scripts and tools to further analyze what recently happened on the target system.

    Using Ozone's instruction trace export does not require a complex parser for the hardware-dependent trace data. All information is readily available in a generic format.

    Code Coverage and Profiling Reports

    After a test application is run, Ozone immediately provides information for code coverage and profiling. The information from the Code Profiling Window can be exported for further analysis in external tools, or as human-readable text files to be stored for QA processes or certification.

    For further analysis, the code coverage and profiling data can be saved as a processable CSV file. All information as shown in the window is available. The export can be further refined to select the whole application or only modules and functions of interest to be stored.

    For documentation purposes, the data can be saved as a text file. This resembles the code coverage and profiling information in an easily readable and understandable form. As with the CSV export, the range to be exported can be selected.

    ozone-codeprofile-export
    Ozone Code Profile Report
    
    Project:       C:/Projects/K66FN2M0_emPower/Start_K66FN2M0.jdebug
    Application:   C:/Projects/K66FN2M0_emPower/Output/Start_K66FN2M0.elf
    
    Code Coverage Summary
    
    Module/Function      |      Source Lines       |      Instructions                 
    ---------------------+-------------------------+------------------------
    APP_Main.c           |                         |                        
      _BGTask            |    5 /     6     83.3%  |   12 /   13     92.3%
      _cbTimer           |    5 /     6     83.3%  |   17 /   18     94.4%
      _HPTask            |   14 /    14    100.0%  |   57 /   57    100.0%
      _InitHW            |    7 /     8     87.5%  |   29 /   30     96.7%
      _MainTask          |   15 /    15    100.0%  |   83 /   83    100.0%
      _WorkerTask        |    7 /     8     87.5%  |   28 /   31     90.3%
      ADC0_IRQHandler    |    6 /     7     85.7%  |   50 /   56     89.3%
      main               |   11 /    13     84.6%  |   60 /   64     93.8%
    ---------------------+-------------------------+------------------------
      Total              |   70 /    77     90.9%  |  336 /  352     95.5%
    
    
    Code Profile Summary
    
    Module/Function      | Run Count | Fetch Count          
    ---------------------+-----------+-------------
    APP_Main.c           |           |             
      _BGTask            |        1  |     13 022  
      _cbTimer           |      291  |      4 947  
      _HPTask            |        1  |     12 339  
      _InitHW            |        1  |         29  
      _MainTask          |        1  |     51 863  
      _WorkerTask        |      646  |    766 016  
      ADC0_IRQHandler    |      291  |     14 841  
      main               |        1  |         60  
    ---------------------+-----------+-------------
      Total              |    1 233  |    863 117  
    
    Video: Automated Testing with Ozone [0:13]

    Automated Testing

    Ozone supports fully automated runs of a test application from the start of a debug session to the export of the report file.

    An Ozone project file is a C programming language-like script. It enables full control over the debugging workflow. When a new project is created, the main routine OnProjectLoad(), does the basic setup for connection, target device, and target application. The scripting interface offers most actions that are accessible via the graphical user interface as affiliated functions. Additionally, callbacks in the project file are called at certain points: debug start, reset and download, target halt or a breakpoint.

    With these functions and callbacks an automated test can be created:

    1. Setup the connection to J-Trace and target device
    2. Configure and enable instruction trace
    3. Load the test application to the target
    4. Send test parameters to the target
    5. Set a breakpoint at the end of the test application
    6. Run the test on the target
    7. When the breakpoint is hit, export the instruction trace data and code coverage report
    8. Exit Ozone

    For more information refer to Automated Tests with Ozone

    • User manual
    • List of downloads
    • Release notes
    • Update notification
    • Support
    • Silicon vendor resources

    全球总部

    德国: SEGGER Microcontroller GmbH

    地址: Ecolab-Allee 5
    40789 Monheim am Rhein, Germany
    电邮: info@segger.com
    电话: +49-2173-99312-0
    传真: +49-2173-99312-28

    网点分布

    中国:哲戈微系统科技(上海)有限公司

    地址: 中国上海市闵行区秀涟路133号
    大虹桥国际A 栋218室
    邮编201199
    电邮: china@segger.com
    电话: +86-133-619-907-60


    简易信息聚合

    通过ISO 9001认证

    ISO 9001

    30多年的嵌入式行业经验

    First-class embedded software tools since 1992
    • 版本说明
    • 免责声明
    • 行为准则
    • 隐私策略
    • 沪ICP备2022005181号
    • 沪公网安备 31011202014525号
    © 2025 SEGGER - 版权所有.

    您即将离开 segger.cn 而访问境外网站,是否继续?