© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Introduction Purpose  The course describes the performance analysis and profiling tools.

Slides:



Advertisements
Similar presentations
Microsoft Excel Presented by ShoWorks Fair Software and Online Entries
Advertisements

Excel Tutorial 1 Getting Started with Excel
Objectives 1.Identify the functions of a spreadsheet 2.Identify how spreadsheets can be used. 3.Explain the difference in columns and rows. 4.Locate specific.
Segmentation and Paging Considerations
© 2010 Blackboard Inc. All rights reserved. Blackboard Learn 9.1 SafeAssign.
MCTS GUIDE TO MICROSOFT WINDOWS 7 Chapter 10 Performance Tuning.
Introduction to SPSS Allen Risley Academic Technology Services, CSUSM
Microsoft Excel 2010 Chapter 7
Copyright 2003, Paradigm Publishing Inc. CHAPTER 6 BACKNEXTEND 6-1 LINKS TO OBJECTIVES Create and Rename a Folder Create and Rename a Folder Delete Workbooks.
1 of 5 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
The sequence of folders to a file or folder is called a(n) ________.
Introduction to SPSS Short Courses Last created (Feb, 2008) Kentaka Aruga.
FIRST COURSE Excel Lecture. XP 2 Introducing Excel Microsoft Office Excel 2007 (or Excel) is a computer program used to enter, analyze, and present quantitative.
XP New Perspectives on Microsoft Access 2002 Tutorial 71 Microsoft Access 2002 Tutorial 7 – Integrating Access With the Web and With Other Programs.
Introduction Purpose Objectives Content Learning Time
Laboratory Exercise # 3 – Basic File Management Office Productivity Tools 1 Laboratory Exercise # 3 Basic File Management Objectives: At the end of the.
Chapter Seven Advanced Shell Programming. 2 Lesson A Developing a Fully Featured Program.
FIRST COURSE Excel Tutorial 1 Getting Started with Excel.
Computer Literacy BASICS: A Comprehensive Guide to IC 3, 5 th Edition Lesson 3 Windows File Management 1 Morrison / Wells / Ruffolo.
Project 3 File, Document, Folder Management, Windows XP Explorer Windows XP Service Pack 2 Edition Comprehensive Concepts and Techniques.
Using the Frequencies Procedure in SPSS 9.0 for Windows © by Julia Hartman © Copyright 2000, Julia Hartman.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Introduction Purpose  This training course provides an overview of the installation and.
MCTS Guide to Microsoft Windows Vista Chapter 11 Performance Tuning.
MCTS Guide to Microsoft Windows 7
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Purpose  This training course describes how to configure the the C/C++ compiler options.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. WORD 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 22 Macros.
Introduction Purpose This course describes the process of installing the KPIT GNU toolchain on your PC. Objective Learn how easy it is to get information.
1. Chapter 9 Maintaining Documents 3 Managing Files As with physical documents, folders, and filing cabinets, electronic files and folders must be well.
®® Microsoft Windows 7 for Power Users Tutorial 13 Using the Command-Line Environment.
ILearnNYC / D2L Analytics Portal: I. Navigating Reports.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Purpose  This training module provides an overview of optimization techniques used in.
Ch 101 Chapter 10 Introduction to Batch Files. Ch 102 Overview A batch file is a text file that contains an ordered series of commands.
Chapter 6 Generating Form Letters, Mailing Labels, and a Directory
With Windows 7 Introductory© 2011 Pearson Education, Inc. Publishing as Prentice Hall1 Windows 7 Introductory Chapter 2 Managing Libraries Folders, Files.
Chapter 03: Lecture Notes (CSIT 104) 11 Chapter 3 Charts: Delivering a Message Exploring Microsoft Office Excel 2007.
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 1 Copyright © 2008 Prentice-Hall. All rights reserved. What Can I Do with a Spreadsheet.
Renesas Technology America Inc. 1 SKP8CMINI Tutorial 2 Creating A New Project Using HEW.
1 Sobah Abbas Petersen Adjunct Associate Professor TDT4252 Modelling of Information Systems Advanced Course TDT4252, Spring 2011 Lecture.
Introduction Purpose This training course covers debugging an application on an SH target in the Renesas HEW (High-performance Embedded Workshop) development.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This training course provides an overview of the CPU architecture.
Formatting WorksheetsFormatting Worksheets Lesson 7.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Introduction Purpose  This training module provides an overview of debugging features.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Introduction Purpose  This course gives an overview of the Toolchain feature of the High.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
Application Software Advanced Spreadsheets "Number crunching"
A lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft® Excel 2013.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Working with Data Lists.
Renesas Technology America Inc. 1 SKP8CMINI Tutorial 2 Creating A New Project Using HEW.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Introduction Purpose  This training course explains how to use section setting and memory.
PYP002 Intro.to Computer Science Microsoft Word1 Lab 04 - a Microsoft Windows Applications Common Features.
1 Introduction Purpose  This course gives an overview of assembler settings of the High-performance Embedded Workshop (HEW), used for developing software.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Introduction Purpose  This course explains how to use Mapview, a utility program for the.
Computer Literacy BASICS: A Comprehensive Guide to IC 3, 5 th Edition Lesson 3 Windows File Management 1 Morrison / Wells / Ruffolo.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Introduction Purpose  This training course describes Coverage, a utility that is used.
EValid LoadTest, eV.manger and Validation. Agenda Load Test capability of eValid How to execute load test by using eValid Introduction to eV.manager Validation.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Introduction Purpose  This training course demonstrates the Project Generator function.
1 Sobah Abbas Petersen Adjunct Associate Professor TDT4252 Modelling of Information Systems Advanced Course Lecture 4: Introduction to.
1 Lesson 9 Windows Management Computer Literacy BASICS: A Comprehensive Guide to IC 3, 3 rd Edition Morrison / Wells.
SVBIT SUBJECT:- Operating System TOPICS:- File Management
Some of the utilities associated with the development of programs. These program development tools allow users to write and construct programs that the.
Chapter 7 Creating Templates, Importing Data, and Working with SmartArt, Images, and Screen Shots Microsoft Excel 2013.
Excel Chapter 1 Creating a Worksheet and an Embedded Chart
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Using Macros Lesson.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Introduction Purpose  This training course demonstrates the use of the High-performance.
Computer Literacy BASICS: A Comprehensive Guide to IC 3, 5 th Edition Lesson 3 Windows File Management 1 Morrison / Wells / Ruffolo.
MCTS Guide to Microsoft Windows 7
Chrome Developer Tools
Tutorial 7 – Integrating Access With the Web and With Other Programs
SDLC Phases Systems Design.
Charts A chart is a graphic or visual representation of data
Presentation transcript:

© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Introduction Purpose  The course describes the performance analysis and profiling tools in the High Performance Embedded Workshop (HEW), which speeds development of software for embedded systems. Objectives  Learn about the different performance analysis and profile windows and their capabilities.  Understand how to use these tools efficiently during application development. Content  25 Pages  4 Questions Learning Time  35 minutes

© 2008, Renesas Technology America, Inc., All Rights Reserved 2 Performance Analysis Window - Displays the number of execution cycles required for each function and the number of times each function is called Profile List Sheet Window - Displays the address location of each function or global variable, its size, the number of times the function is called or the global variable is accessed, and number of internal/external or I/O memory accesses Profile Tree Sheet Window - Displays the relation of a function to its caller in a tree structure, and includes information such as address location, size, stack size, and the number of times the function is called Profile Chart Window - Displays the function-call hierarchy in graphical form Capability Overview Performance Analysis Profiling

© 2008, Renesas Technology America, Inc., All Rights Reserved 3 Three ways to open the Performance Analysis Window  Select from menu: View  Performance  Performance Analysis  Press key sequence: Ctrl + Shift + P  Click on icon: Opening Window Performance Analysis

© 2008, Renesas Technology America, Inc., All Rights Reserved 4 Information in Window  Index – Numbered entries  Function – Name of user-specified function (or user specified start address of function) to be analyzed  Cycle – Number of instruction execution cycles required  Count – Number of times the function is called  % – Ratio of execution cycle count of function to execution cycle count or the entire application  Histogram – Histogram display of % ratio Performance Analysis

© 2008, Renesas Technology America, Inc., All Rights Reserved 5 Right-click in the Performance Analysis window Select “Add Range” to add the required functions Select “Enable Analysis” Run the program, stopping at any desired location Starting Performance Analysis Performance Analysis Right-click anywhere in window

© 2008, Renesas Technology America, Inc., All Rights Reserved 6 Interpreting Analysis Results Four functions perform the same task: Compute value of 2 10  longway — Computes the result using a long algorithm; takes 39,500 cycles to execute  recur — Takes 45,000 execution cycles and is called 500 times (all of the other functions are called only 50 times)  shortway — Requires the fewest number of execution cycles (33,000), so it is the least computationally intensive  quick — Uses more cycles than all other functions (107,300); thus, it’s the most computationally intensive Performance Analysis

© 2008, Renesas Technology America, Inc., All Rights Reserved 7 Simulator Versus Emulator  Simulator reports number of execution cycles  Emulator reports actual run time of program Example: Discrepancy in “recur” count values - For simulator, recur is 500 cycles - For emulator, recur is 50 cycles Performance Analysis E6000 Simulator E6000 Emulator

© 2008, Renesas Technology America, Inc., All Rights Reserved 10 Opening Profile Window Profiling Three ways to open the Profile Windows  Select from menu: View  Performance  Profile  Press key sequence: Ctrl + Shift + P  Click on icon:

© 2008, Renesas Technology America, Inc., All Rights Reserved 11 Profile List Sheet Function/VariableFunction or variable name F/VSelection is a function or variable Address Start address of the function or variable listed Size Size of the function or variable listed Times Number of times the function is called Cycle Number of execution cycles Ext mem Number of accesses to external memory I/O area Number of accesses to input/output area Int mem Number of accesses to internal memory Profiling

© 2008, Renesas Technology America, Inc., All Rights Reserved 12 Profile Tree Sheet Profiling FunctionFunction name AddressStart address of function SizeSize of function Stack sizeStack size of the function being executed TimesNumber of times a function is called by its parent function CycleNumber of execution cycles Ext memNumber of external memory access I/O areaNumber of input/output area excess Int memNumber of internal memory access

© 2008, Renesas Technology America, Inc., All Rights Reserved 13 Right-click in either Profile sheet to open menu Select “Enable Profiler” Run the program, stopping at any desired location To Start Profiling Profiling Right-click anywhere in window

© 2008, Renesas Technology America, Inc., All Rights Reserved 14 Profile Window Options  View Source – Displays the source program or disassembled memory contents for the address in the selected line  View Profile-Chart – Displays the “Profile-Chart” window for the selected function  Enable Profiler – Toggles acquisition of profiler  Not trace the function call – Stops tracing function calls while profile data is acquired. This menu is used when acquiring profile data of the program in which functions are called in a special way, such as task switching in the OS  Setting – Pops-up a menu with additional option choices: Show Functions/Variables*, Show Functions*, Show Variables*, Only Executed Functions, and Include Data of Child Function  Find – Searches for a character string in “Function” column  Find Data** – Searches for maximum or minimum profile data  Clear Data – Clears data in profiler  Output Profile Information Files – Profiling results are saved in a profile information file (.pro extension). The optimizing linkage editor optimizes user programs according to the profile information in this file  Output Text file – Saves profile results to a text file Profiling * Profile List Sheet only ** Profile Tree Sheet only

© 2008, Renesas Technology America, Inc., All Rights Reserved 15 Profile List Sheet Results Displays profiling results by individual functions or variables - For example, the function “recur”  Is located at start address H’  Has a size of H’3E  Is called 500 times during its execution  Occupies 45,000 execution cycles  Has made 4300 accesses to internal memory Profiling

© 2008, Renesas Technology America, Inc., All Rights Reserved 16 Address — Ensures that functions or variables are saved to the desired memory location Size — Indicates which functions or variables should be optimized further if the code is too large Times — Confirms the number of times a function or variable is called Cycle — Counts suggest which functions to optimize to increase speed if the execution exceeds requirements Ext mem — Shows the number of times external memory is accessed I/O area — Indicates the number of times the I/O area is accessed Int mem — Shows the number of times internal memory is accessed Advantages of List Sheet Profiling

© 2008, Renesas Technology America, Inc., All Rights Reserved 17 Profile Tree Sheet Results Results of profiling functions are displayed in relation to the calling function Statistical data are similar to data obtained in Profile List Sheet - Exception in this example is the “recur” function, called only 50 times (versus 500 times in Profile List Sheet) Profile Tree shows how many times a function is called by parent function, not the overall number of calls in the program Profiling

© 2008, Renesas Technology America, Inc., All Rights Reserved 18  Tree Sheet results show a function’s calling hierarchy  Stack-size information gives a way to judge how efficiently the reserved stack memory is being used Advantages of Tree Sheet Profiling

© 2008, Renesas Technology America, Inc., All Rights Reserved 19 Opening Profile Chart Profiling Two ways to open the Profile Chart Window  Right-click on function in Profile List Sheet or Tree Sheet, then select from menu: View Profile-Chart  Click on icon: Right-click on function of interest

© 2008, Renesas Technology America, Inc., All Rights Reserved 20 Right-clicking on the Profile Chart brings up menu of options  “Multiple View” — Allows viewing of multiple Profile-Chart displays  “Expands Size” — Increases spaces between each function  “Reduces Size” — Decreases spaces between each function Profile Chart Options Profiling

© 2008, Renesas Technology America, Inc., All Rights Reserved 21 Relationships among functions are depicted graphically  “main” function is called by “PowerON_Reset”  “longway,” “quick,” “shortway,” “recur” are called by “main” function  Value beside each function name indicates number of times the function is called by the calling function Interpreting Profile Chart Profiling

© 2008, Renesas Technology America, Inc., All Rights Reserved 22  Provides a clear picture of the hierarchy of functions  “Multiple view” allows comparison of functions at two ends of Profile Chart Advantages of Profile Chart Profiling

© 2008, Renesas Technology America, Inc., All Rights Reserved 25 Introduction to Performance Analysis and Profiling What information these tools provide How they can be used to evaluate the performance of code Course Summary Download a free evaluation copy of HEW at: