Please enable JavaScript to view this site.

winIDEA Help

Version: 9.21.239

Call Stack Profiling

Call Stack analysis is displayed in the Profiler Timeline and Profiler Statistics windows and it shows from where the function was called and which functions were called from this function. It is selected from Analyzer Configuration dialog / Profiler page. Applies to all Operation modes expect Flat, because this operation mode does not record call stack.

 

 

Enable Call Stack Analysis

CallStackAnalysis

1. Open Analyzer Configuration dialog / Profiler tab.

2. Select Call stack analysis.

3. Click Reanalyze button in the Analyzer toolbar.

 

 

Results

Results are displayed in the Profiler Timeline and Profiler Statistics windows.

callstackprofiling

Profiler Timeline

Call Stack analysis in the Profiler Timeline window displays:

(Gross) Time of Sub-Functions

Dependencies/Sequences within Operations

 

Note: PDU - Protocol Data Unit

callstackprofiling-1

Profiler Statistics

Call Stack analysis in the Profiler Statistics window displays:

which Sub-Function contributes how much time within a certain operation, e.g. sending data (SensorData) via Ethernet using an RTE Write Port)

the maximum Function Call Tree Depth Useful for allocating sufficient Program Stack for each OS Task.

the sequence of Function calls within a certain Operation.

 

 

Export results

CallStackAnalysis2

 

Note that only call stack areas that are children of normal function area are exported. See example screen shot.

 

Copyright © 2024 TASKING Germany GmbH