Embedded Design Handbook

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

7.2.3.1. Analyzing the Problem

The total amount of time consumed by an interrupt service routine is equal to the latency of the HAL interrupt dispatcher plus the interrupt handler running time. Use the following methods to profile your interrupt handling:

  • Interrupt dispatch time—Calculate the interrupt handler entry time using the method found in design files that accompany the Using Tightly Coupled Memory with the Nios® II Processor Tutorial on the Intel literature pages.You can download the design files from the Documentation: Tutorials page of the Intel website.
  • Interrupt service routine time—Use a timer to measure the time from the entry to the exit point of the service routine.