How to Use Performance Monitor to Observe Performance (Windows Embedded CE 6.0)
1/5/2010
You can use the Performance Monitor tool to display statistics that describe the performance of a target device in real time.
You can also use Performance Monitor for information about the following:
- Resource use
- Queue lengths
- Delays
- Throughput and internal congestion
You can also configure the Performance Monitor tool to alert you when the target device meets a specified condition.
Hardware and Software Assumptions
- You are familiar with how to use remote tools. For more information, see Remote Tools.
- If you are using a development workstation that runs Windows Vista, you are running Platform Builder for Windows Embedded CE 6.0 with administrator privileges.
Steps
Step | Topic |
---|---|
1. Open an OS design, or use the wizard to select a design template and the initial components for the OS design. After you create the OS design, choose Catalog Item View and make sure that it includes the required Catalog items. The OS design must include support for the following SYSGEN variables:
If you want to use ActiveSync transport for the configured connection, the OS design must include support for ActiveSync. For more information, see ActiveSync OS Design Development. If you want to use TCP/IP transport for the configured connection, the OS design must include support for TCP/IP. For more information, see TCP/IP OS Design Development. |
Creating an OS Design with the Windows Embedded CE OS Design Wizard |
2. Choose a Debug or Release configuration to target when Platform Builder builds the OS design into a run-time image. To use the kernel debugger, make sure that support for the kernel debugger is enabled. If you want to use KITL transport for the configured connection, make sure that you enable KITL in the run-time image. |
|
3. If you have not built your run-time image, build the OS design into a run-time image. |
|
4. Establish a hardware connection between your development workstation and the target device; then configure Platform Builder to download the run-time image to the target device over the established connection.
|
|
5. Download the run-time image to the target device through the configured connection. Wait until all modules are loaded onto the target device.
|
|
6. Start the Performance Monitor tool.
|
Not applicable |
7. Connect the Performance Monitor tool to the target device. When you configure the connection, perform the following additional steps:
|
Configuring the Connection to a Target Device Using Platform Manager Troubleshooting a Connection to a Target Device That Uses Platform Manager |
8. Open the Chart view window, which the Performance Monitor uses to display data from the target device in real time. |
|
9. Configure the Chart view window to display one or more statistics from the target device. For example, to display memory use as a percentage of total memory, do the following.
|
|
10. After you add a statistic to the chart, if you are not satisfied with the appearance of the line that plots the statistic, change the appearance of the line. |
|
11. If you are not satisfied with the appearance or behavior of the chart, modify the appearance or behavior. |
|
12. Open the Alert view window, which Remote Performance Monitor uses to notify you when specific condition occurs on the target device. |
|
13. Configure the Alert view window to notify you when conditions occur on the target device. For example, to enable Performance Monitor to notify you when memory use on the target device exceeds a specified percentage of total memory, do the following:
|
|
14. After you add an alert, if you are not satisfied with the color or if you want to change the value at which Performance Monitor notifies you of the alert, modify the alert. |
|
15. Verify that Performance Monitor responds to an alert in the way you want. |
|
16. Return to the Chart view window. |
|
17. Perform actions on the target device and observe the response of chosen statistics in the Chart view window. |
Not applicable. |
See Also
Concepts
Tools for Performance Tuning
Performance Monitor