Please enable JavaScript to view this site.

winIDEA Help

Version: 9.21.36

PC Sampling

This chapter explains how to configure PC sampling. Refer to Profiler Configuration for more general information.

 

 

Configure PC Sampling

PC Sampling is configured in the Analyzer configuration under Data section. To record only sampling it is recommended to select Operation mode None in Hardware menu / CPU Options / Analyzer.

 

Warning40x40

Make sure that Profiler is checked in the Analyzer Configuration / Recorder page.

 

PCsampling

1. Select View menu / Analyzer / Analyzer Configuration button.

2. Navigate to the App/MCU / Profiler page.

3. Enable Data.

 

New - Click on the button to add a new PC Sampling Area.

Edit - Select a Profiler Data Area and click to edit it.

 

 

Right click to copy the link address Adding a new PC Sampling Profiler Area

PCsampling3

1. Click on the New button.

2. Add a description which will be displayed in the Profiler Timeline.

3. Specify which functions you wish to profile:

  • All Functions
  • All Functions in download file
  • All Functions in Module
  • Function or Routine

 

hmtoggle_arrow0 If you leave the field, where functions are listed, empty, all functions of the selected application will be analyzed.

 

Code Areas - Start typing in the field and filter the functions.

 

 

Multiple function  areas can be specified with a wild card.

  • * - any sequence of characters
  • ? - any single character
  • # - any single digit
  • [set] - any of the characters in the set
  • [!set] - none of the characters in the set

 

A set is defined as a sequence of characters. If a dash is used, all characters within the range qualify, e.g. [a-z] defines all characters in range a to z.

 

 

Right click to copy the link address PC Sampling pool

Amount of samples used by Sampling analysis. If left blank (default) 1000 will be used. Sample Pool is configurable in the Advanced Profiler Configuration.

 

PC-Sampling-pool-1

1. Open the Analyzer Configuration dialog.

2. Navigate to the bottom of the dialog and click on the Advanced button.

3. Select number of samples in the PC sampling poo field.

4. Reanalyze the .trd file.

 

 

bulb

More resources

hmtoggle_arrow0 Profiler display settings

 

 

Copyright© iSYSTEM AG Carl-Zeiss-Str.1 85247 Schwabhausen Germany