Real-Time Performance Modification of Windows CE .NET
- Author
- XuYanBo
- Advisor
- LiaoMingHong
- School
- Harbin Institute of Technology
- Major
- Computer Science and Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 215
- Citations
- 2
Abstract
Windows CE .NET from Microsoft Corp. is a very popular embedded Operated System (OS). It can use the applicaiton developping tool eVisual C++ and the great developping platform Platform Builder, whose modularizing components can satisfy different environment according to different needs. With a wide applicattion field, Windows CE .NET occupys a highest position in embedded OS market. However, there is still some shortage in it. Its kernel is so huge and complicated that it can not be stored into small spaces. The real-time performance of its kernel is also too week to be competent in some high real-time performance required area.Aimed at these problems, we provide a project to cut down a tiny kernel of Windows CE .NET, which is named as "Mini Windows CE". This tiny kernel needs a smaller size, higher real-time performance and more adapt to those special fields with small spaces and high needs of real time .Firstly, we have a discussion about the key-problems of embedded OS’s real-time performance. Avoiding some lack of Windows CE .NET and improving its real-time performance, we present two methods: modifying interrupt mechanism and modifying threadscheduling machanism.Secondly, several relative modules about real-time performance of Windows CE .NET have been anatomized. Based on a deep understanding of the compiling system Platform Builder, we organize the whole original code about the system kernel, especially having an analysis of both interrupt machnism and thread sheduling machanism.Then, we respectively describe and implement both of the above modifying methods. When system finds an interrupt, the processing will lead to two parts: kernel ISR (Interrupt Service Routine) and user IST (Interrupt Service Thread). Optimizing the protection in the time of interrupt will reduce ISR delay and IST delay. Improving the timer definition will shorten the thread’s waiting time from 2ms to 1ms, which means reducing ISR delay. Wnidows CE .NET schedules threads with a higher priority to run first. Threads at the same priority level run in a round-robin fashion with each thread receiving a quantum. We break those
Table of contents
Summary 4-5
Abstract 5-9
Chapter 1 Introduction nbsp 9-18
1.1 Topic background and significance; 9 - 12
1.1.1 Windows CE embedded operating system development 9-10
1.1.2 Windows CE NET less than 10-11
1.1.3 Mini Windows CE proposed 11-12
1.2 embedded real-time operating system 12-14
of 1.2.1 embedded real-time operating system 12-13
1.2.2 several typical real-time embedded operating system 13-14
1.3 Windows CE NET real-time rehabilitation programs 14-16
1.3.1 interrupt mechanism reform 14-15
1.3.2 thread scheduling mechanism transformation 15-16
1.4 of this study 16-18
Chapter 2 Windows CE. NET module real-time analysis of 18-36
2.1 Platform Builder compiler system 18-22
2.1.1 custom Windows CE NET configuration File 18-19
the 2.1.2 Platform Builder compiler 19-21
2.1.3 compile Windows CE NET core source code 21-22
2.2 system kernel source organization 22-25
2.2.1 Windows CE NET core source tree constitute 22-24
2.2.2 Windows CE NET core source code execution sequence 24-25
2.3 interrupt mechanism for source code analysis; nbsp 25-28
2.3.1 interrupt processing 25-26
2.3.2 system clock interrupted 26
2.3.3 correlation function 26-28
2.4 thread scheduling mechanism for source code analysis 28-35
2.4.1 Windows CE. NET thread structure analysis 28-30
2.4.2 Some other important data structure nbsp 30-31
2.4.3 correlation function; 31-35 <br / > 2.5 Summary 35-36
Chapter 3 Windows CE. NET interrupt mechanism real-time transformation 36-47
3.1 Windows CE NET interrupt mechanism 36 -39
3.1.1 core interrupt 36-37
3.1.2 Windows CE NET interrupt processing 37-39
3.2 Windows CE NET interrupt mechanism transformation 39-46
3.2.1 reduce the interrupts delay 39-41
3.2.2 improve the timer resolution 41-46
3.3 of this chapter Summary 46-47
Chapter 4 Windows CE the NET thread scheduling mechanism for real-time transformation 47-56
4.1 Windows CE NET thread scheduling mechanism analysis 47 -51
4.1.1 Windows CE the NET thread priority 47-48
4.1.2 Windows CE. NET thread scheduling time 48-50
4.1 .3 round robin scheduling priority-based time sheet 50-51
4.2 Windows CE. the the NET thread scheduling mechanism transformation 51-55
4.2.1 several real-time scheduling algorithm nbsp 51-52
4.2.2 two-stage real-time scheduling mechanism; 52-55
4.3 Chapter Summary 55-56
Chapter 5 System real-time testing and analysis 56-62
5.1 real-time test indicators 56
5.2 real-time testing tools; nbsp 56-59
5.3 real-time test results and Analysis 59-62
5.3.1 interrupt latency test 59-60
5.3.2 scheduling performance timing test 60-62 <br the /> conclusion 62-63
refer to the literature 63-66
original declaration of the Journal of Harbin Institute of Technology; nbsp 66
Journal of Harbin Institute of Technology using the power of attorney 66
Harbin Institute of Technology master's degree in the management of classified papers the
Acknowledgements nbsp 66-67; 67
Related dissertations
- Research and Development of Bottom Software of Inkjet Printer System Based on Embedded Linux
- Study of Real-time Grid Monitoring System Based-on Complex Event Processing
- Research and Implementation of the Web-integrated Real-time Video Surveillance System Based on Flex
- Research of Heterogeneous System Integrated Optimization Based on OPC DX Technology
- Knitting Machine Hardware Control Platform Design and Implementation Based on NCUC-bus Fieldbus
- Research on Control System of a6-DOF Motion Platform
- Design and Application Research on Multi-Master Node TTCAN Network
- The Realization and Research on Real-time of CANopen Network
- The Research on Ethernet_based Interface of Embeded Motion Control System
- Design of Distributed Concurrent State-aware System for the Quadruped Bionic Robot
- On-board Vision System for Humanoid Ping-Pong Robot
- Study of CPS Communication Based on MCU and Intelligent Optimization Algorithms
- The Research and Implementation of Embedded TCP/IP Stack Based on F28M35HX
- Optical Capture Based Development of Virtual Interaction System
- Real-time Performance of the Semi-physical Simulation System Based on RTX
- Research on Virtual Surgery Cutting Technique Based on Force Feedback
- Research on Real-time Rendering of Multi-resolution Terrain Features
- A Research on Improving the Dynamic Range of an Area-array CCD Imaging System
- Research on HD-SDI Signal Real-time Prosessing System Based on FPGA
- Real-time Eye-gaze Tracing System Based on CPU+GPU