首页> 外文会议>International Congress on Advances in Nuclear Power Plants >Theoretical Modeling Method on Worst-Case Execution Time in Real-Time IC Systems
【24h】

Theoretical Modeling Method on Worst-Case Execution Time in Real-Time IC Systems

机译:实时I&C系统中最坏情况执行时间的理论建模方法

获取原文

摘要

A real-time I&C (instrumentation and control) system used in safety systems in nuclear power plants should have predictable and deterministic characteristics. The main issue of a predictable real-time system is to prove whether it satisfies its deadline. The deadline is a fixed time by which a task invocation must have completed its computation, measured relative to its arrival time. One way to prove whether a real-time I&C system satisfies its deadline is a schedulability analysis of the real-time scheduler. The schedulability analysis is to determine whether or not a given set of real-time tasks under a particular scheduling discipline can meet all of its timing constraints. To analyze the schedulability, a worst-case execution time (WCET), which is the upper bound of the execution times for the C program, is required. This paper presents a theoretical modeling method of the WCET. The C program is transformed into assembly instructions through a compiler. Using these assembly instructions corresponding to a C statement, the execution cycles required to execute a C statement can be calculated. Furthermore, the total cycles required to execute the C program can be computed. The work to map a C statement into assembly instructions and define their execution cycles is performed. An abstract syntax tree (AST) is constructed for extracting information to analyze C program. To predict the WCET, nodes of the AST include the elements of the C program and the elements to predict the WCET. As each node of the AST is traversed sequentially, an extended C program to calculate the WCET is generated. By executing the extended C program, the execution time per execution path can be measured. The WCET of the C program based on theoretical model and the WCET of the C program in a real environment is calculated. The deviation between two WCETs is analyzed. Through a deviation analysis, the fact that the WCET, based on theoretical model, is the upper bound of the WCET of the C program in a real environment is shown and used in evaluating the schedulability of a real-time scheduler.
机译:核电站安全系统中使用的实时I&C(仪器控制)系统应具有可预测和确定性特征。可预测的实时系统的主要问题是证明它是否满足其截止日期。截止日期是一个固定的时间,任务调用必须完成其计算,相对于其到达时间测量。一种方法来证明实时I&C系统是否满足其截止日期是实时调度程序的调度分析。调度分析是确定特定调度学科下的给定的一组实时任务是否可以满足其所有时序约束。为了分析调度性,需要最坏情况执行时间(WCET),这是C程序的执行时间的上限。本文介绍了WCET的理论建模方法。 C程序通过编译器转换为装配说明。使用对应于C语句的这些装配说明,可以计算执行C语句所需的执行周期。此外,可以计算执行C程序所需的总循环。执行将C语句映射到装配说明中并定义其执行周期的工作。构建抽象语法树(AST)以提取信息以分析C程序。为了预测WCET,AST的节点包括C程序的元素和预测WCET的元件。当顺序遍历AST的每个节点时,生成要计算WCET的扩展C程序。通过执行扩展C程序,可以测量每个执行路径的执行时间。计算基于理论模型的C程序的WCET和C程序在真实环境中的WCET。分析了两个WCET之间的偏差。通过偏差分析,WCET基于理论模型的事实是在真实环境中的C程序WCET的上限,并用于评估实时调度程序的调度性。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号