Automatic method for exactly analyzing WCET (Worst-Case Execution Time) of task
An analytical task and precise technology, applied in the direction of program control devices, etc., can solve problems such as degrading system performance, aircraft bombing, leakage, etc., to achieve the effect of improving estimation accuracy
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Publication Date
- 2015-03-04
- Estimated Expiration
- Not applicable · inactive patent
Smart Images
Figure 1 Figure 2 Figure 3
Abstract
Description
technical field
[0001] The invention relates to an automatic method for accurately estimating the Worst Case Execution Time (WCET: Worst-Case Execution Time) of a real-time system task, belonging to the field of real-time embedded systems. Background technique
[0002] Different from general-purpose computer systems, the results of real-time systems are valid only when they are completed within the specified time range. If they are not completed within the specified time range, the performance of the system will be reduced at the slightest, and catastrophic consequences will be caused at worst. Such as aircraft bombing, nuclear leakage. Therefore, for real-time systems, it is particularly important to obtain the WCET and best-case execution time (BCET: Best-Case Execution Time) of each task in the system in advance. Given that BECT analysis is the same technique as WCET analysis, one only refers to WCET analysis. In fact, WCET analysis is the premise of real-time system ta...
Examples
Embodiment 1
[0070] 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.
[0071] The present invention proposes an automatic method for accurately generating program WCET. The method uses a graph similar to a program control flow graph (CFG, Control Flow Graph) to automatically generate task WCET situation expressions, thereby achieving the purpose of accurately estimating task WCET.
[0072] The method that the automatic and accurate generation program WCET that the present invention proposes comprises 6 steps, and concrete steps are as follows:
[0073] Step 1: Generate the program's acyclic control flow graph NLCFG
[0074] Similar to the CFG that generates programs, it also uses the three basic statements of the program: compound statements, conditional statements, and loop statements to generate three...