In recent years, with the rapid development of computer technology and advances in chip manufacturing technology, embedded real time operating system ERTOS (Embedded Real-Time Operating System) is gradually infiltrating into fields of science, engineering and so on. More attention is paid to its methods of performance testing.Embedded real time operating system is the combination of traditional embedded system and real-time operating system. It is small, configurable, and can be applied to many embedded environments with different features. By adopting micro-kernel structure, its main functions refer to event management, time service, interrupt service and real-time scheduling. Generally taken strong external responsiveness and high accuracy in time as the main performance characteristics, it has a certain predictability.Generally, performance indexes of the operating system are not isolated but interacting with each other. However, most of the existing testing programs are based on one or a small number of them. There is no clear definition of the interaction between them, which results the lack of completely objective evaluation in real-time operating system performance. For solving this problem, two sets of elements aiming to describe the relationship between the dependencies among performances are defined in this paper. Based on this, a test model of two-indicator-set of operating system is proposed which divides the indictors set of operating system into affection and evaluation sets.A test system for embedded real-time operating system is designed and implemented. Based on analyzing those existing test cases, oriented towards uC/OS-II, case tests are carried out on this system by adopting the classical method Rhealstone to generate sets of test cases.Based on the test model of two-indicator-set proposed in this paper, by instance of uC/OS-II, performance tests are designed. Time of tasks switching and interrupting response and message passing are measured in a practical way. The effectiveness and objectiveness and also usability of the test model of two-indicator-set are verified by the process of case tests generating and results of final experiments... |