System and method for testing interrupt response time of linux real-time operating system

A real-time operating system and response time technology, applied in the field of information processing, can solve problems such as the inability to correctly evaluate the hard real-time performance of the system, the inability to save test test data, and the inability to continue testing for a long time, so as to achieve simple and convenient interrupt response testing and simple testing Efficient and time-saving effects

Active Publication Date: 2021-09-21
格力电器(杭州)有限公司 +1
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] (1) The traditional interrupt response test requires the assistance of oscilloscopes, signal generators and other equipment, and the operation is complicated. Each test requires the participation of equipment operators, each measurement takes a long time, and human records are required.
[0008] (2) Traditional test test data cannot be saved and cannot be continuously tested for a long time, resulting in the inability to correctly evaluate the hard real-time performance of the system

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
  • System and method for testing interrupt response time of linux real-time operating system
  • System and method for testing interrupt response time of linux real-time operating system
  • System and method for testing interrupt response time of linux real-time operating system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] In order to make the object, technical solution and advantages of the present invention more clear, the present invention will be further described in detail below in conjunction with the examples. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0045] Aiming at the problems existing in the prior art, the present invention provides a system and method for testing interrupt response time of a linux real-time operating system. The present invention will be described in detail below in conjunction with the accompanying drawings.

[0046] Such as figure 1 As shown, the linux real-time operating system interrupt response time testing system provided by the embodiment of the present invention includes:

[0047] The test application parameter setting module 1 is used to transfer test parameters to the application program, and set the test interval and test duration.

[...

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 belongs to the technical field of information processing, and discloses a linux real-time operating system interrupt response time testing system and method, which transmits test parameters to application programs, and the test parameters include: test interval and test duration; the test application controls the drive in the kernel according to the setting Send an interrupt to the target CPU, block and wait for the driver to complete a test. The driver will wake up the test task and return the test result after completing the test. The interrupt number irq and the corresponding interrupt processing function handler are registered to the target test system, and a kernel thread is created to monitor whether the interrupt processing is completed. The test of the present invention is simple and efficient, and is closer to the real application environment; complex external auxiliary equipment can be removed, manpower time is saved, test efficiency is improved, and equipment resources are saved.

Description

technical field [0001] The invention belongs to the technical field of information processing, in particular to a system and method for testing interrupt response time of a Linux real-time operating system. Background technique [0002] Currently, the closest prior art: real-time systems fall into two categories: soft real-time systems and hard real-time systems. Hard real-time systems are widely used in aerospace, industrial automation, numerical control processing and medical equipment, etc., which require high real-time performance of the operating system. If there is an error in the system, it will bring heavy losses or unpredictable consequences. As a general-purpose operating system, linux did not consider the real-time nature of the system at the beginning of its design, so it cannot meet the requirements of hard real-time applications. However, based on the advantages of open source, small size, tailorable, and easy development of the linux kernel, people have carri...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/22
CPCG06F11/2231
Inventor 王顺刚王剑殷伟豪何熹
Owner 格力电器(杭州)有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products