Embedded Design Handbook

ID 683689
Date 8/28/2023
Public
Document Table of Contents

4.4. Profiling Nios® II Systems

This chapter describes the methods to measure the performance of a Nios® II system with the GNU profiler (nios2-elf-gprof), the performance counter component, and the timestamp interval timer component. This chapter also includes two tutorials to measure performance in the Intel Nios II Software Build Tools (SBT) development flow.

The Nios® II development environment provides several tools to analyze the performance of your project. The software-only GNU profiler approach adds minimal overhead. To analyze deterministic real-time performance issues, you can use a hardware timer or a performance counter. To choose the best tool for your task, consider the problem that you are solving.