Abstract
Worst-case execution time (WCET) analysis is one of the major tasks in timing validation of hard real-time systems. In complex systems with real-time operating systems (RTOS), the timing properties of the system are decided by both the applications and RTOS. Traditionally, WCET analysis mainly deals with application programs, while it is crucial to know whether RTOS also behaves in a timely predictable manner. In this paper, static analysis techniques are used to predict the WCET of the system calls and the Disable Interrupt regions of the μC/OS-II real-time kernel, which presents a quantitative evaluation of the real-time performance of μC/OS-II. The precision of applying existing WCET analysis techniques on RTOS is evaluated, and the practical difficulties in using static methods in timing analysis of RTOS are also discussed.
Similar content being viewed by others
References
Lv M, Guan N, Zhang Y, et al. WCET analysis of the μC/OS-II real-time kernel. In: Proceedings of International Conference on Computational Science and Engineering, 2009
Labrosse J. MicroC/OS-II the Real-Time Kernel. 2nd ed. CMP Books, 2002
Li X, Liang Y, Mitra T, et al. Chronos: A timing analyzer for embedded software. Science of Computer Programming, 2007, 69(1–3): 56–67
Li X. Microarchitecture modeling for timing analysis of embedded software. Ph.D. Thesis of National University of Singapore, 2005
Burger D, Austin T M. The Simplescalar Tool Set. 2nd ed. SIGARCH Computer Architecture News, 1997
Colin A, Puaut I. Worst-case execution time analysis of the rtems real-time operating system. In: Proceedings of the 13th Euromicro Conference on Real-Time Systems, 2001
Lisper B. Fully automatic, parametric worst-case execution time analysis. In: Proceedings of the 3rd International Workshop on Worst-Case Execution Time (WCET) Analysis, 2003
Bygde S, Lisper B. Towards an automatic parametric wcet analysis. In: Proceedings of the 8th International Workshop on Worst-Case Execution Time (WCET) Analysis, 2008
Carlsson M, Engblom J, Ermedahl A, et al. Worst-case execution time analysis of disable interrupt regions in a commercial real-time operating system. In: Proceedings of the 2nd International Workshop on Real-Time Tools, 2002
Sandell D, Ermedahl A, Gustafsson J, et al. Static timing analysis of real-time operating system code. In: Proceedings of the 1st International Symposium on Leveraging Applications of Formal Methods, 2004
Singal M, Petters S M. Issues in analysing L4 for its WCET. In: Proceedings of the 1st International Workshop on Microkernels for Embedded Systems, 2007
Schneider J. Why you can not analyze RTOSs without considering applications and vice versa. In: Proceedings of the 2nd International Workshop onWorst-Case Execution Time (WCET) Analysis, 2002
Schneider J. Combined schedulability and WCET analysis for realtime operating systems. Ph.D. Thesis of Saarland University, Germany, 2002
Staschulat J, Ernst R. Scalable precision cache analysis for real-time software. ACM Transactions on Computer Systems, 2007
Lee C, Lee K, Hahn J, et al. Bounding cache-related preemption delay for real-time systems. IEEE Transactions on Software Engineering, 2001, 27(9): 805–826
Nemer F, Casse H, Sainrat P, et al. Inter-task wcet computation for a-way instruction caches. In: International Symposium on Industrial Embedded Systems, 2008
Burguière C, Reineke J, Altmeyer S. Cache-related preemption delay computation for setassociative caches. In: Proceedings of the 9th International Workshop on Worst-Case Execution Time (WCET) Analysis, 2009
Lv M, Guan N, Zhang Y, et al. A survey of WCET analysis of real-time operating systems. In: The International Conference on embedded Software and Systems, 2009
Wilhelm R, Engblom J, Ermedahl A, et al. The worst-case execution—time problem.overview of methods and survey of tools. Transaction on Embedded Computing Systems, 2008
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Lv, M., Guan, N., Deng, Q. et al. Static worst-case execution time analysis of the μC/OS-II real-time kernel. Front. Comput. Sci. China 4, 17–27 (2010). https://doi.org/10.1007/s11704-009-0073-8
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11704-009-0073-8