Lab 2-2: Exploring Threads



Similar documents
How to install and use the File Sharing Outlook Plugin

Virtual Office Remote Installation Guide

Setting up VMware ESXi for 2X VirtualDesktopServer Manual

Installing S500 Power Monitor Software and LabVIEW Run-time Engine

WebSphere Business Monitor V7.0 Business space dashboards

IMAP and SMTP Setup in Clients

WebSphere Business Monitor V6.2 Business space dashboards

A-AUTO 50 for Windows Setup Guide

TSM for Windows Installation Instructions: Download the latest TSM Client Using the following link:

How to share media files through Windows Media Player 11

EZ RMC Remote HMI App Application Guide for Android Devices

SOS SO S O n O lin n e lin e Bac Ba kup cku ck p u USER MANUAL

TM Online Storage: StorageSync

owncloud Configuration and Usage Guide

For Introduction to Java Programming, 5E By Y. Daniel Liang

Installing the Software... 1 Using the System Tray Icon... 5 Restoring the System Tray Icon... 6

<User s Guide> Plus Viewer. monitoring. Web

Installing Remote Desktop Connection

Online Backup and Recovery Manager Setup for Microsoft Windows.

Rational Developer for IBM i (RDI) Distance Learning hands-on Labs IBM Rational Developer for i. Maintain an ILE RPG application using

Accessing the Online Meeting Room (Blackboard Collaborate)

MONITORING PERFORMANCE IN WINDOWS 7

atbusiness Deposit Installation Guide Table of Contents

Compute Cluster Server Lab 3: Debugging the parallel MPI programs in Microsoft Visual Studio 2005

SMS (Server Management Software) Digital Video Recorder. User s Manual

ACS CLIENT SOFTWARE USER MANUAL

Standard Client Configuration Requirements

During your session you will have access to the following lab configuration.

Setting up Citrix XenServer for 2X VirtualDesktopServer Manual

Citrix Client Install Instructions

How to setup a network printer using HP Universal Printer Driver

RDM+ Remote Desktop for Android. Getting Started Guide

LP 2844 Thermal Printer

How to use SURA in three simple steps:

Before You Begin: NOTE: Please read each step of these instructions carefully as not all steps include accompanying pictures.

Employee Appointment Books. User s Manual

Generative Drafting. Page DASSAULT SYSTEMES. IBM Product Lifecycle Management Solutions / Dassault Systemes

Setup guide. TELUS AD Sync

Legal Notes. Regarding Trademarks KYOCERA Document Solutions Inc.

A. BACK UP YOUR CURRENT DATA. QuickBooks Business Accounting Software for Windows Account Conversion Instructions

5nine Hyper-V Commander

ICP Data Entry Module Training document. HHC Data Entry Module Training Document

SysAid Remote Discovery Tool

Moxa Device Manager 2.0 User s Guide

Avalanche Remote Control User Guide. Version 4.1.3

User Manual V1.0. Remote Software

Shellshock Security Patch for X86

Neoteris IVE Integration Guide

MacScan. MacScan User Guide. Detect, Isolate and Remove Spyware

Important Notes for WinConnect Server ES Software Installation:

Fingerprint Identity User Manual for the Griaule Biometric Framework Rev 1.00

meridianemr PATIENT PORTAL Release Notes

Quick Start Guide. Microinvest Warehouse Pro Light Restaurant

DESKTOP CLIENT CONFIGURATION GUIDE BUSINESS

Finance Reporting. Millennium FAST. User Guide Version 4.0. Memorial University of Newfoundland. September 2013

Configuration Guide. Remote Backups How-To Guide. Overview

QUANTIFY INSTALLATION GUIDE

BUS-WATCH R1001/R4001 Quick Guide Series

WA2262 Applied Data Science and Big Data Analytics Boot Camp for Business Analysts. Classroom Setup Guide. Web Age Solutions Inc.

CONSOLEWORKS WINDOWS EVENT FORWARDER START-UP GUIDE

Professional Fire Software Control Center. Fire Training Module Training Manual

Time Stamp. Instruction Booklet

Setting up Hyper-V for 2X VirtualDesktopServer Manual

NovaBACKUP xsp Version 15.0 Upgrade Guide

Central Management Software CV3-M1024

Advanced Event Viewer Manual

Section 1: Overture (Yahoo) PPC Conversion Tracking Activation

SFTP Server User Login Instructions. Open Internet explorer and enter the following url:

NVMS User Manual

10 STEPS TO YOUR FIRST QNX PROGRAM. QUICKSTART GUIDE Second Edition

MyNetFone Virtual Fax. Virtual Fax Installation

Steps for using MagicConnect

Neoteris IVE Integration Guide

WA1916 WebSphere ESB 7.0 Programming Using WID. Classroom Setup Guide. Web Age Solutions Inc. Copyright 2011 Web Age Solutions Inc.

Cleaning your Windows 7, Windows XP and Macintosh OSX Computers

IIS, FTP Server and Windows

vtcommander Installing and Starting vtcommander

SonicWALL CDP 5.0 Microsoft Exchange InfoStore Backup and Restore

SQL Server 2008 R2 Express Edition Installation Guide

OneLogin Integration User Guide

Using Keil software with Linux via VirtualBox

Important Notes for WinConnect Server VS Software Installation:

Procedure for updating Firmware of EZ4 W or ICC50 W

Outlook . Step 1: Open and Configure Outlook

Microsoft Virtual Labs. Windows Embedded CE 6.0 Writing C# Managed Applications

Setting up Hyper-V for 2X VirtualDesktopServer Manual

Caller ID Tracker Summit Computer Networks, Inc.

Configure the idrac Remote Access Console

INF-USB2 and SI-USB Quick Start Guide

Learning Management System (LMS) Quick Tips. Contents LMS REFERENCE GUIDE

DVR4C Remote Viewer Operation Manual Table of Contents EN 3 1. OVERVIEW MINIMUM PC REQUIREMENTS INSTALLING THE PROGRAM...

Profit Developers, Inc. (PDI) 2015 SAXTAX Software Installation Guide

Getting Started with the LabVIEW Mobile Module Version 2009

SENDING S & MESSAGES TO GROUPS

WA1791 Designing and Developing Secure Web Services. Classroom Setup Guide. Web Age Solutions Inc. Web Age Solutions Inc. 1

1. Open the preferences screen by opening the Mail menu and selecting Preferences...

AXIS Camera Station Quick Installation Guide

Setup Guide for Exchange Server

From Sales to Support All-in-one Stand Alone Solution Covering Customer Service, Call Tracking, HelpDesk, Knowledgebase and Built in Contacts Database

IsItUp Quick Start Manual

Transcription:

Lab 2-2: Exploring Threads Objectives Prerequisites After completing this lab, you will be able to: Add profiling support to a Windows CE OS Design Locate files associated with Windows CE profiling Operate Windows CE Remote Kernel Tracker Before working on this lab, you must have: Completed Lab 2-0: Minimal Kernel Configuration Completed Lab 2-1: Exploring Memory, Heaps, and Stacks Estimated time to complete this lab: 30 minutes

2 Lab 2-2: Exploring Threads Lab Setup This lab assumes that: You selected the Emulator microprocessor when you installed Platform Builder You installed Platform Builder in the default directory provided by the Platform Builder Setup program You completed Lab 2-1 and have the completed workspace from that available.

Lab 2-2: Exploring Threads 3 Exercise 1 Add Kernel Profiling support The default Platform Build Options initially set by New Platform Wizard disables Kernel profiling (A.k.a. event tracking). Adding Kernel profiling support will permit detailed Kernel information to be logged and viewed. Set Platform Build Options From Platform Builder Platform Settings and click Build Options tab. Click Enable Profiling (IMGPROFILER=1) until Check mark appears. Click OK button to save changes. Build an OS image 1. From Platform Builder Build OS Clean Before Buiding (Alt-UC). 2. From Platform Builder Build OS Sysgen (Alt-US).

4 Lab 2-2: Exploring Threads 3. Watch the status bar in the lower right corner of the Platform Builder window for the current state of its Status Monitor. It reports the state of the build process and your target device: 4. When the Status Monitor shows the Build status as Not Building, it has finished building the image: 5. Verify this build generated no error(s): You can now download the image to the CE Device. Start CD Device 6. From Platform Builder Target menu, launch Attach Device (Ctrl+Shift+D).

Lab 2-2: Exploring Threads 5 Note You can move or minimize the Emulator window, but you should not close it until instructed to do so. 7. Watch Status Monitors at lower right corner of the Platform Builder window for Target Message Output, CESH Target Control, and Kernel Debugger: Windows CE boots up and runs just as before with the same number of processes, threads, and modules. What is different this time is the profiling data structures included.

6 Lab 2-2: Exploring Threads Exercise 2 Remote Kernel Tracker Launch Remote Kernel Tracker 1. From Platform Builder Tools Remote Kernel Tracker. Click Default Device and Click OK button.

Lab 2-2: Exploring Threads 7 2. Remote Kernel Tracker will establish a Platform Manager connection with the CE Device and download a number of its files that are loaded into memory (CEMGRC.EXE and RTH.EXE) in order to start logging events to the host. Click button to toggle Show/Hide Legend mode: Click here Events occurring in the CE Device are continuously being logged first into its local memory. CeLogFlush.exe then periodically transmits it to the host via its Platform Manager connection for Remote Kernel Tracker tool to display.

8 Lab 2-2: Exploring Threads Click button to refresh the logging data being displayed and note the timeframe increasing as new data is being added to the right. Click button to search for an event by type or by a particular process or thread, etc.

Lab 2-2: Exploring Threads 9 Exercise 3 Logging a Simple Application Before looking at the complex relationships between multiple threads, this exercise will look at the logging data being generated for a simple application (created in Lab 2-1). Remove all breakpoints (just in case) From Platform Builder menu select Edit Breakpoints to open the Breakpoints List Window. Click Click button to delete all breakpoints. to close the Breakpoint List window. Launch app2_2a.exe application 1. From Platform Builder Target Run Programs to open the Run Program window. Click app2_2a.exe to select. Click Run to launch program. 2. Verify the app2_2a.exe application is loaded into the CE Device and runs to completion while Remote Kernel Tracker is running: 3. Verify the app2_2a.exe application load and unload events on the CE Device appears as Remote Kernel Tracker activity:

10 Lab 2-2: Exploring Threads 4. Move the cursor over events in the Remote Kernel Tracker display to see more details popup regarding each event: Position the mouse over the red square for a few seconds to see a popup for more details on the load module event. Position the mouse over the green lines for a few seconds to see a popup for more details on the Process Info. Click on an event to set the cursor to assist in zooming and stepping through events and threads using menu buttons. Change the Zoom Range to view thread transitions in more detail. Take some time to explore the information provided by the kernel tracker to see how it shows the thread transitions and the reasons for them.