Analyzing a real-time program with Z

被引:0
|
作者
Jacky, J [1 ]
机构
[1] Univ Washington, Seattle, WA 98195 USA
关键词
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Real-time behavior of a multi-tasking program running on a preemptive priority-based operating system is analyzed. The operating system and a collection of application tasks are modelled in Z. Real-time is represented by an ordinary Z state variable. The model is adapted to a particular application by defining a state machine for each task and associating execution times with each state. The model is analyzed by exhaustive simulation with the SMV model checker. The state transitions described by Z operation schemas are implemented in the SMV programming language. Invariants, preconditions, and postconditions from the Z are translated to formulas in CTL, the SMV specification language. The SMV program is verified by checking these formulas. This detects coding errors in the SMV program and also reveals inconsistencies in the original Z where operation schemas are inconsistent with state invariants. The errors were corrected. Additional CTL formulas describe temporal properties that cannot be expressed directly in Z. The Z model is validated by checking an example SMV program with CTL formulas that confirm scheduling results from rate-monotonic analysis (RMA). Another application that does not satisfy the assumptions of RMA is analyzed, establishing that high-priority tasks cannot indefinitely delay low-priority tasks and real-time deadlines can be met.
引用
收藏
页码:136 / 153
页数:18
相关论文
共 50 条
  • [31] Analyzing Parallel Real-Time Tasks Implemented with Thread Pools
    Casini, Daniel
    Biondi, Alessandro
    Buttazzo, Giorgio
    PROCEEDINGS OF THE 2019 56TH ACM/EDAC/IEEE DESIGN AUTOMATION CONFERENCE (DAC), 2019,
  • [32] Real-Time Volatilomics: A Novel Approach for Analyzing Biological Samples
    Majchrzak, Tomasz
    Wojnowski, Wojciech
    Rutkowska, Malgorzata
    Wasik, Andrzej
    TRENDS IN PLANT SCIENCE, 2020, 25 (03) : 302 - 312
  • [33] Performance models for studying and analyzing real-time multimedia systems
    Koriem, Samir M.
    JOURNAL OF CIRCUITS SYSTEMS AND COMPUTERS, 2006, 15 (04) : 571 - 606
  • [34] AN INTRODUCTION TO REAL-TIME GRAPHICAL TECHNIQUES FOR ANALYZING MULTIVARIATE DATA
    FRIEDMAN, JH
    MCDONALD, JA
    STUETZLE, W
    COMPUTER PHYSICS COMMUNICATIONS, 1987, 45 (1-3) : 161 - 167
  • [35] Calau: An Environment for Modeling and Analyzing Embedded Real-Time Systems
    Andrade, Ermeson C.
    Alves, Marcelo
    Nogueira, Bruno
    Maciel, Paulo
    PROCEEDINGS 2012 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN, AND CYBERNETICS (SMC), 2012, : 3135 - 3140
  • [36] Analyzing real-time PCR data by the comparative CT method
    Thomas D Schmittgen
    Kenneth J Livak
    Nature Protocols, 2008, 3 : 1101 - 1108
  • [37] A REAL-TIME METHOD FOR ANALYZING NUCLEAR-PLANT TRANSIENTS
    BROUGHTON, TG
    WALSH, PS
    TRANSACTIONS OF THE AMERICAN NUCLEAR SOCIETY, 1980, 34 (JUN): : 723 - 724
  • [38] Analyzing stochastic fixed-priority real-time systems
    Gardner, MK
    Liu, JWS
    TOOLS AND ALGORITHMS FOR THE CONSTRUCTION AND ANALYSIS OF SYSTEMS, 1999, 1579 : 44 - 58
  • [39] Semantic Twitter: Analyzing Tweets for Real-Time Event Notification
    Okazaki, Makoto
    Matsuo, Yutaka
    RECENT TRENDS AND DEVELOPMENTS IN SOCIAL SOFTWARE, 2010, 6045 : 63 - 74
  • [40] Analyzing the Impact of Deep Web on Real-Time Business Search
    Kulkarni, Sachin
    Mukhopadhyay, Debajyoti
    2017 4TH INTERNATIONAL CONFERENCE ON ADVANCED COMPUTING AND COMMUNICATION SYSTEMS (ICACCS), 2017,