Skip to main content
  • 产品
  • Evaluate our Software
  • 下载
  • Free Utilities
  • 购买
  • 支持
  • 关于我们
  • Search
    • Contact Us
    • Forum
    • Knowledge Base
    • Newsletter
    • RSS
  •   工作机会
  •   视频
  •   永续性
  • Ozone - J-Link Debugger
  • Code Profiling
  • Technology

Code profiling

Measure and improve code performance with Ozone.

Contact us
Downloads
SEGGER Ozone
  1. 1.What is Code Profiling?
  2. 2.Live Code Profiling with Ozone
  3. 3.Code Profiling Reports

With the J-Trace PRO streaming trace capabilities, Ozone analyzes trace data in real-time, while the data is transferred from the target system to the host computer. The analyzed data contains information about which instructions have been executed on the target, whether conditional instructions have taken both paths, and how often each instruction has been executed. With the captured trace data, Ozone analyzes your application to construct a code profile and identify "hot spots" for potential optimization.

Video: Code Profiling with Ozone [0:10]

Ozone analyzes and displays the Run Count and CPU Load of modules and functions while the system executes.

What is Code Profiling?

Code profiling measures execution time and frequency of functions, blocks and instructions. The metrics characterize an execution system and highlight where computing time is spent. This makes it easy to find potential for optimization: Code that is executed frequently and/or places a high load on the system.

Identifying "hot spots" can be crucial. Reducing the execution time of frequently used functions by just a single CPU cycle can have higher impact on the system than reducing a rarely used function by a thousand CPU cycles.

Live Code Profiling with Ozone

With J-Trace PRO streaming trace it is possible to get the most accurate code profiling information. Tests can be done without any source modification and even on production code.

Ozone updates code profiling data in real time, while the target is running. It maps the execution counts to the high-level source code and show the number of execution for each function, block, or source line. This enables identification of time-consuming or frequently called routines which may help to selectively optimize the system.

ozone-executioncounter

Ozone displays and updates the execution counters per line and instruction live.
A mouse-over tooltip provides more information about conditional execution.

Code Profiling Reports

After running all tests and measuring performance, the information can be used to improve the system. Ozone can export the data for further analysis.

About Code Profiling Reports...

全球总部

德国: 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 而访问境外网站,是否继续?