Please enable JavaScript to view this site.

winIDEA Help

Version: 9.21.300

Profile Code

In this topic:

Configuration steps

Results

 

 

Introduction

This tutorial demonstrates how to create Automatic Hardware Trigger, select correct Application (or Process), and configure Profiler Area.

 

 

Configuration steps

Make sure your winIDEA workspace for tracing is created and debug session established.

 

number1

Open View | Analyzer | Analyzer Configuration arrow | Create New Configuration.

The configuration should have:

a.Descriptive name

b.Enabled Profiler

c.Enabled Automatic Hardware Trigger

 

Profiling-code-new-config

 

 

number2

Select your Process (Application).

Profiling-data-tutorial-process

 

When you click on the newly created Process (e.g. App/MS_App), Profiler (and Coverage) pages will appear in the left menu.

 

number3

Set Recorder options.

Start - Trigger Immediately

(optional) Enabled Upload while sampling to stream trace messages via the DAP interface

 

profiling-data-recorder-winidea

 

Warning_orange

Make sure Manual Hardware Trigger is not checked.

 

 

Number4

Select Code and click New to define Profiler Area in the Profiler page.

If Code Areas section is left empty, all functions listed (reported) in the debug download file(s) are recorded.

It is recommended to profile only functions of interest since this yields faster Profiler analysis.

 

profiling-code-areas-winidea

 

 

Number5

Define Functions you wish to record and confirm.

profiling-code-areas-function-winidea

 

 

 

 

Results

Profiling-code-tutorial

 

 

More resources

Recorder

Code Profiling

 

 

Copyright © 2024 TASKING