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

Time performance test method of embedded real-time operating system based on FPGA

A real-time operating system and time performance technology, applied in software testing/debugging, error detection/correction, instruments, etc., can solve the problems of system scheduling CPU time occupation, affecting test accuracy, poor flexibility, etc., to improve test accuracy and improve Flexibility, reduced syscall and signal latency effects

Active Publication Date: 2019-02-15
北京京航计算通讯研究所
View PDF3 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Benchmark test method, which defines a series of performance benchmark test programs, based on the time data obtained by the RTOS's own time base, such as RhealStone, process dispatch delay time method, Hartstone method, Lmbench method, this type of method is relatively fast, but the benchmark test program Frequent system scheduling also occupies a lot of CPU time, affecting test accuracy
The hardware method mainly uses embedded development auxiliary equipment such as oscilloscopes and logic analyzers in combination with test programs to test the time performance of the system, but the auxiliary equipment is only responsible for obtaining the measurement time, which has poor flexibility.

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
  • Time performance test method of embedded real-time operating system based on FPGA
  • Time performance test method of embedded real-time operating system based on FPGA
  • Time performance test method of embedded real-time operating system based on FPGA

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0078] This embodiment specifically describes the method for testing the time performance index of the embedded real-time operating system using FPGA proposed by the present invention. The detection method is applied to the interrupt response time performance test of an embedded real-time operating system.

[0079] like figure 1 Shown, described time testing method comprises the steps:

[0080] Step 1: The FPGA provides an excitation signal to the target machine, and the input excitation signal here is the external interrupt source of the target machine. Step 1 consists of the following steps:

[0081] Step 101, setting frequency f, signal duration t, and trigger times n of the interrupt trigger signal at the host computer to determine the interrupt input source parameters of the target machine;

[0082] Step 102, sending the excitation input source configuration parameters to the FPGA

[0083] Step 103, the FPGA outputs an interrupt signal to the target machine according ...

Embodiment 2

[0095] This example specifically describes the method for testing the time performance index of the embedded real-time operating system using FPGA proposed by the present invention. The detection method is applied to the task switching time performance test of an embedded real-time operating system.

[0096] Described time performance test method comprises the steps:

[0097] Step 1: Configure task switching time test measurement parameters and set the number of measurements;

[0098] Step 2: Run the time performance test program on the target machine, and output the start signal level and the end signal level of the measurement time;

[0099] Both the start level signal and the end level signal to be output during task switching time performance measurement are timely output by the test program. like image 3 Shown:

[0100] (1) Create two tasks 1 and 2 with the same priority. In order to avoid the influence of other tasks in the system, give these two tasks the highest p...

Embodiment 3

[0112] This embodiment provides a method for testing the time performance index of an embedded real-time operating system using FPGA, and the detection method is applied to the time performance test of the embedded real-time operating system.

[0113] Described time performance test method comprises the steps:

[0114] Step 1: FPGA provides excitation signal to the target machine;

[0115] Step 2: The target machine responds to the stimulus and outputs a response signal, and outputs the start signal level and end signal level of the measurement time;

[0116] Step 3: the FPGA receives the output of the target machine to measure the start signal level and the end signal level;

[0117] Step 4: FPGA uses its own time base to count, and measures the time interval between the start signal level and the end signal level;

[0118] Step 5: FPGA stores and forwards the measured multiple sets of time interval data to the host computer;

[0119] Step 6: The host computer performs sta...

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 software evaluation, in particular to aime performance test method of an embedded real-time operating system based on FPGA. In order to accurately measure the time performance of embedded real-time operating system, A method for measuring time performance of embedded operate system includes such steps as configuring excitation signal triggered by FPGA and measuring parameters, running time performance test program on target computer, receiving response signal by FPGA, calculating time interval by FPGA, storing time interval data and forwarding data to host computer, and analyzing time performance by host computer. The technical proposal of the invention adopts the test method of combining the FPGA measurement and the test function of the target machine, realizes the timing function and the external excitation by the FPGA, reduces the system call in the test program, reduces the signal delay time, and improves the flexibility of the time performance test of the embedded real-time operating system.

Description

technical field [0001] The invention belongs to the technical field of software evaluation, and in particular relates to a method for testing the time performance of an embedded real-time operating system using FPGA. Background technique [0002] Embedded real-time operating system is a special-purpose computer operating system that has strict requirements on real-time performance, and its real-time performance is reflected in the certainty of time performance and running time. Task switching time, interrupt response time, task preemption time, and semaphore delay time are important indicators reflecting the timing performance of an embedded operating system. [0003] The time performance test methods of embedded real-time operating system include benchmark test method and hardware method. Benchmark test method, which defines a series of performance benchmark test programs, based on the time data obtained by the RTOS's own time base, such as RhealStone, process dispatch del...

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): G06F11/36
CPCG06F11/3688
Inventor 刘博闫腾杨艳丹盛凯南王洋王欣宋志强陈建任韩强何霄霏李显坤王一晶刘胤龙王婷婷
Owner 北京京航计算通讯研究所
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