Hard real-time operating system delay test method and system

A delay testing and operating system technology, applied in software testing/debugging, hardware monitoring, error detection/correction, etc., can solve problems such as indistinguishability, and achieve the effect of detailed response delay, accurate and effective positioning

Active Publication Date: 2020-12-22
KYLIN CORP
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the test results of cyclictest are from the cumulative calculation delay of interrupt response, interrupt service processing time, task preemption time and task scheduling time, and cannot distinguish the above-mentioned stages in detail, especially the response delay, and this response delay It is very important for the R&D personnel positioning stage

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
  • Hard real-time operating system delay test method and system
  • Hard real-time operating system delay test method and system
  • Hard real-time operating system delay test method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in combination with specific embodiments and with reference to the accompanying drawings. It should be understood that these descriptions are exemplary only, and are not intended to limit the scope of the present invention. Also, in the following description, descriptions of well-known structures and techniques are omitted to avoid unnecessarily obscuring the concept of the present invention.

[0051] In the embodiment of the present application, the present invention provides a kind of delay test method of hard real-time operating system, and described method comprises steps:

[0052] Configure the device under test 10;

[0053] Configuring a first output port 11 and a first interrupt port 12 on the device under test 10;

[0054] Configuring a first test program, a first driver program and a first interrupt h...

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 hard real-time operating system delay test method and system. The method comprises the following steps: configuring equipment to be tested; configuring a first output port and a first interrupt port on the to-be-tested device; configuring a first test program, a first drive program and a first interrupt processing program in the to-be-tested device; electrically connecting the first output port with the first interrupt port; and initializing the first test program, applying for a memory with a preset length in the to-be-tested device, and initializing the memory to serve as a test result storage area. According to the hard real-time operating system time delay test method and system provided by the invention, the response time delay generated by the system in thewhole response process can be further refined, and when the response time delay index exceeds the standard, developers can be helped to perform accurate and effective positioning.

Description

technical field [0001] The invention belongs to the technical field of hard real-time operating systems, and in particular relates to a delay testing method and system for hard real-time operating systems. Background technique [0002] A real-time system means that the computational correctness of the system depends not only on the logical correctness of the calculation, but also on the time when the result is produced. If the time constraint of the system is not satisfied, the system is considered to be invalid. Therefore, the computer is required to produce the operation result before the specified time limit under the premise that the logical result is correct, otherwise it will have catastrophic consequences. [0003] The standard linux system is not a hard real-time operating system, but the market and the community have introduced several solutions to transform the standard linux system into a hard real-time operating system, namely: (1) preempt rt patch solution; (2) ...

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/36G06F11/34
CPCG06F11/3688G06F11/3419
Inventor 陈松刘云鹤张超史晶郭俊余魏立峰张铎孔金珠吴庆波
Owner KYLIN CORP
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