Share via


Running the CPU Monitor Tool (Windows Embedded CE 6.0)

1/6/2010

You can run the CPU Monitor tool by itself or you can run the tool from the Windows Embedded CE 6.0 Test Kit (CETK) window. Prior to running the CPU Monitor tool, you must install the Microsoft .NET Framework on the development workstation. You can download the .NET Framework from Microsoft Windows Update or from MSDN, the Microsoft developer program Web site.

Note

You cannot connect the CPU Monitor tool to more than one target device at a time.

To run the CPU Monitor tool from the CETK window

  1. Add support for the CETK to the Windows Embedded CE operating system (OS) for the target device.

    For information about adding support for the CETK to your Windows Embedded CE OS, see CETK Setup.

  2. Connect the target device to the CETK.

    For information about connecting a target device to the CETK, see Configuring the CETK to Communicate with a Target Device.

  3. In the CETK window, right-click on the target device from which you want to view CPU and memory usage information, choose Tools, and then choose CPU Monitor.

To run the CPU Monitor tool from the CETK window via ActiveSync

  1. Open Notepad and enter the following line exactly:

                20#Cetkperf 169.254.2.2
    
    
  2. Save that text file as cpumon.lnk and copy it to the \Windows\Start Menu on the device.

  3. Copy ARMV4I Cetkperf.exe to the \Windows\Start Menu on the device.

  4. Launch the CPU Monitor tool on the desktop PC.

  5. Launch cpumon.lnk file from Start Menu on the device. This will cause the CPU Monitor tool on the desktop to start recording CPU use.

To run the CPU Monitor tool by itself

  1. In <Platform Builder installation path>\Cepb\Wcetk\Ddtk\<CPU>, copy the Cetkperf.exe file to the release directory for your Windows Embedded CE OS.

  2. In <Platform Builder installation path>\Cepb\Wcetk\Ddtk\Desktop, run CPUMon.exe.

  3. Run the Cetkperf.exe application with the syntax Cetkperf dev_workstation, where dev_workstation is the name of the development workstation.

When you run the CPU Monitor tool, the tool automatically collects and displays data from the target device. For information about stopping and starting the collection of data, see Controlling Data Collection with the CPU Monitor Tool.

For information about ways to display data with the CPU Monitor Tool, see Displaying Data with the CPU Monitor Tool.

You can store the data collected by the CPU Monitor tool. For information about storing data collected by the tool, see Storing Data Collected by the CPU Monitor Tool.

See Also

Other Resources

CPU Monitor Tool