03.08.2013 Views

CodeWarrior Development Studio for Power Architecture ...

CodeWarrior Development Studio for Power Architecture ...

CodeWarrior Development Studio for Power Architecture ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Table of Contents<br />

4.1.3 Configuring Target . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .110<br />

4.1.4 Using the Per<strong>for</strong>mance Analysis Configuration Editor . . . . . . . . . . . . . . . . . . . .116<br />

4.2 Collecting Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .130<br />

4.2.1 Specified Cycle Count Operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .134<br />

4.2.2 One Shot Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .135<br />

4.2.3 Logic Analyzer Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .136<br />

4.2.4 Configuration Access Log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .137<br />

4.3 Analyzing Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .138<br />

4.3.1 Viewing Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .138<br />

4.3.2 Saving Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .144<br />

4.3.3 Loading Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .145<br />

4.4 Per<strong>for</strong>mance Analysis Scenarios (PFS) Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .146<br />

4.4.1 Importing PFS Files and Per<strong>for</strong>mance Analysis Data . . . . . . . . . . . . . . . . . . . . .146<br />

4.4.2 Working on Scenario Editor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .151<br />

4.4.3 Expert Mode Configuration Subroutines in PFU Files . . . . . . . . . . . . . . . . . . . .165<br />

4.4.4 Modifying Scenarios . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .177<br />

4.4.5 Creating New Scenarios . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .182<br />

4.5 Generating CSV and Summary CSV Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .190<br />

4.6 Capturing Program Counter with Event Captures . . . . . . . . . . . . . . . . . . . . . . . . . . . .194<br />

4.7 Setting Per<strong>for</strong>mance Analysispoints. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .195<br />

4.7.1 Setting Pfapoints From Disassembly View . . . . . . . . . . . . . . . . . . . . . . . . . . . . .199<br />

4.8 Zip File Database of Event, Counter and Metric Capabilities . . . . . . . . . . . . . . . . . . .200<br />

5 Per<strong>for</strong>mance Analysis <strong>for</strong> B4 and T4 Devices 203<br />

5.1 Per<strong>for</strong>mance Analysis Perspective . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203<br />

5.1.1 Per<strong>for</strong>mance Analysis View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203<br />

5.1.2 Configuration View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .204<br />

5.1.3 Per<strong>for</strong>mance Analysis Session View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .211<br />

5.1.4 Progress View. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .211<br />

5.2 Creating New Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .212<br />

5.3 Connecting to Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .213<br />

5.3.1 Selecting Connection Automatically . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .214<br />

5.3.2 Adding Connection Manually . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .216<br />

5.4 Selecting Scenarios . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .217<br />

5.5 Running Scenarios . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .219<br />

4 Tracing and Analysis Tools User Guide

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!