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: 2020-04-14
格力电器(杭州)有限公司 +1
View PDF7 Cites 10 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 system and a method for testing interrupt response time of a linux real-time operating system, and is used for transmitting test parameters, test intervals and test duration to an application program. The test application sends interruption and blockage to the target CPU according to the drive in the setting control kernel, waits for the drive to complete a test, wakes up the test task and returns a test result after the drive completes the test, submits the result to a data processing module for statistical processing and storage after the test task is waked up, and repeats according to the setting; and after the drive is loaded, registering the interrupt number irq and the corresponding interrupt processing function handler to a target test system, and creating a kernel thread for monitoring whether interrupt processing is completed or not. The method is simple and efficient in test and is closerto a real application environment; and complex external auxiliary equipment can be removed, manpower and time are 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 Applications(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