Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and system for measuring interruption duration of embedded system at high precision and medium

An embedded system, high-precision technology, applied in the computer field, can solve problems such as inconvenient operation, achieve the effect of improving debugging efficiency, improving system performance, and quickly locating performance bottlenecks

Pending Publication Date: 2022-05-13
GUANGZHOU YIHUI INFORMATION TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, the above two measurement methods are intrusive performance analysis methods. When using them, the program function flow needs to be modified, which is inconvenient to operate

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for measuring interruption duration of embedded system at high precision and medium
  • Method and system for measuring interruption duration of embedded system at high precision and medium
  • Method and system for measuring interruption duration of embedded system at high precision and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts all belong to the scope of protection of this application.

[0044] Such as image 3 A method for measuring the interrupt duration of an embedded system with high precision is shown, including the following steps:

[0045] S1 specifies the interrupt exception handling function as the service function of the specific exception vector number in the interrupt exception vector table, so that the exception vecto...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for measuring interruption duration of an embedded system with high precision, and relates to the technical field of computers. Comprising the following steps: S1, specifying an interrupt exception type corresponding to an exception vector number; s2, when the interrupt exception occurs, the system jumps to a general exception entry function of the system; s3, the general exception entry function judges exception types through exception type numerical values; s4, calling an interrupt vector processing macro function in the interrupt entry function; s5, at the inlet of the interrupt vector processing macro function, firstly executing the interrupt duration measurement starting macro function to obtain an input interrupt timestamp, then calling and executing the interrupt processing function to obtain an output interrupt timestamp, and finally executing the interrupt duration measurement ending timing and data statistics function macro function at the outlet of the interrupt vector processing macro function; and S6, after the interrupt processing is completed, returning to a system state. According to the non-invasive performance analysis method, hardware resources can be fully utilized and the debugging efficiency can be improved on the premise of not modifying a program function flow.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method, system and medium for measuring the interrupt duration of an embedded system with high precision. Background technique [0002] Interruption is a very important concept in computer systems, and modern computers all use the interrupt mechanism without exception. In the process of computer executing the program, due to a special situation (or called "event"), the CPU stops the current program and turns to execute the event processing program (commonly known as interrupt processing or interrupt service program). After the program is executed, return to the breakpoint and continue to execute the original program. This process is called interruption. [0003] Interrupt latency (interrupt duration) is one of the most important performance indicators of a real-time operating system. It usually refers to the time elapsed from when an external device sends an interrupt reques...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/32G06F9/448G06F9/48
CPCG06F9/327G06F9/4482G06F9/4812
Inventor 王东方弓羽箭韩辉徐贵洲焦进星
Owner GUANGZHOU YIHUI INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products