Книга: Microsoft Windows Embedded CE 6.0 Exam Preparation Kit
Profile Timer Support
Profile Timer Support
Located at the core of the operating system, the OAL is a perfect choice for mechanisms to measure the performance of the system and support performance optimization. As discussed in Chapter 3, "Performing System Programming," you can use the Interrupt Latency Timing (ILTiming) tool to measure the time it takes to invoke an interrupt service routine (ISR) after an interrupt occurred (ISR latency) and the time between when the ISR exits and the interrupt service thread (IST) actually starts (IST latency). However, this tool requires a system hardware tick timer or alternative high-resolution timer that is not available on all hardware platforms. If the new hardware platform supports a high-resolution hardware timer, you can support ILTiming and similar tools by implementing the functions listed in Table 5-7.
Table 5-7 Profile timer support functions
Function | Description |
---|---|
OEMProfileTimerEnable | Enables a profiler timer. |
OEMProfileTimerDisable | Disables a profiler timer. |
NOTE
Thread scheduling and interrupt handling
The OAL must also support interrupt handling and the kernel scheduler. The scheduler is independent of the processor type, yet interrupt handling must be optimized for different types of processors.
- 11.7 Soft Timers and Timer Related Operations
- Shell Pattern-Matching Support
- Support for Wireless Networking in Fedora
- Avoiding Printer Support Problems
- Commercial Support
- 6.4.3. Bootloader Support for initrd
- 14.2.2. Target Boot with KGDB Support
- 1.3.3 Timers
- 2.1.7 Watchdog Timer
- 2.1.9 Timers
- PROJECT 6.7 — Two-Digit Multiplexed 7-Segment LED Counter with Timer Interrupt
- Online Linux Support