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

Instruction prefetching content selecting method for optimizing WCET (worst-case execution time) of real-time task

A technology for instruction prefetching and real-time tasks, applied in machine execution devices and other directions, can solve problems such as inability to guarantee the effectiveness of the method and lack of universality, avoiding instruction cache access misses, improving WCET analysis accuracy, and reducing size. Effect

Active Publication Date: 2013-07-17
BEIHANG UNIV
View PDF6 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although this type of method may be effective for a certain type of application, it is not universal. Once the type of application changes, the effectiveness of the method cannot be guaranteed.

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
  • Instruction prefetching content selecting method for optimizing WCET (worst-case execution time) of real-time task
  • Instruction prefetching content selecting method for optimizing WCET (worst-case execution time) of real-time task
  • Instruction prefetching content selecting method for optimizing WCET (worst-case execution time) of real-time task

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The present invention will be further described in detail below in conjunction with the accompanying drawings. These implementation examples are described in sufficient detail to enable those skilled in the art to practice the invention. Logical, implementation and other changes may be made in the implementation without departing from the spirit and scope of the invention.

[0035]The invention provides an instruction prefetch content selection method for optimizing real-time task WCET, which is oriented to real-time application systems and performs instruction prefetch based on program basic blocks. In the method of the present invention, in order to realize instruction prefetch at the basic block level of the program, a hardware structure called instruction information table (BBIT) is added to the existing instruction cache hardware. The basic block information of the program is stored in BBIT, mainly the starting block address and block length of the basic block. T...

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 provides an instruction prefectching content selecting method for optimizing WCET (worst-case execution time) of a real-time task. A hardware structure of a basic-block information table (BBIT) is added in high-speed caching hardware of an existing instruction. The instruction prefectching content selecting method includes: initializing hardware configuration, collecting a static routine base block set via a compiler or a static routine character analyzing tool, removing base blocks only covering one storage block, collecting execution frequentness of every program base block under worst-case execution condition, sequencing the program base blocks according to the execution frequentness, selecting information of an appointed amount of program base blocks according to the sequence, and storing the information in the BBIT. During a high-speed cache accessing process, high-speed instruction cache and the BBIT are searched at the same time, high-speed instruction cache accessing loss under the worst-case execution condition can be effectively avoided, requirements on the real-time task are met, and meanwhile, the instruction prefectching content selecting method can effectively reduce hardware design cost, and is simple and direct to realize.

Description

technical field [0001] The present invention relates to a method for selecting instruction prefetch content, in particular to a method for selecting instruction prefetch content that is oriented to real-time applications in real-time systems and optimizes worst-case execution time (WCET: Worst-Case Execution Time) analysis accuracy. It belongs to the field of computer system structure and real-time embedded system. Background technique [0002] Unlike general-purpose computer systems, which mainly focus on performance under average execution conditions, real-time systems pay more attention to system performance and task execution time under worst-case execution conditions. Missing the execution deadline of the task usually leads to the failure of the real-time system, especially the hard real-time system, causing adverse consequences or even catastrophic accidents, such as: car crashes, nuclear leaks, etc. Accurately predicting the execution time of the system in the worst ...

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/30
Inventor 万寒倪璠龙翔高小鹏姜博
Owner BEIHANG UNIV
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