Trace-based Profiling


The embedded tools company


Trace-based Profiling
  Highlights
Detailed analysis of function run-times
Detailed analysis of task run-times and state
Graphical analysis of variable values over the time
Analysis of the time interval of a single event (e.g. Interrupt)
Analysis of the time interval between 2 defined events




 

Function Run-Time Statistics


Function run-time analysis

The calculation of all Statisic Functions is based on the contents of the trace buffer. The best results can be reached by using a big trace buffer or by using trace filters.

  • func: total number of analyzed functions
  • total: total measurement time

  • time: total time within a function
  • min: shortest time within a function
  • max: longest time within a function
  • avr: average time within a function
  • count: number of function calls
The following additional calculation can be performed:

  • called subfunctions can be excluded from the measurement
  • the time spent in interrupts can be excluded from the measurement
  • the maximum time a function was interrupted can be calculated
  • hll interrupt routines can be analyzed separatly


Link Analysis

If a function was called serveral time, the linkage analysis shows
  • the different callers
  • a caller-dependent function run-time analysis


Function Nesting (function call hierarchy)



Function Timechart (graphical display)



 

Statistics over Task Run-Times and States


The calculation of all Statisic Functions is based on the contents of the trace buffer. The best results can be reached by using a big trace buffer or by using trace filters.


Task Runtime Analysis

  • task: total number of analyzed tasks
  • total: total measurement time

  • time: total time within a task
  • avr: average time within a task
  • maxintr: maximum time the task was interrupted
  • count: number of task calls
  • ratio: fraction of the total time per task


Task Specific Function Analysis

  • func: total number of analyzed functions
  • total: total measurement time

  • time: total time within a function
  • min: shortest time within a function
  • max: longest time within a function
  • avr: average time within a function
  • count: number of function calls
  • ratio: fraction of the total time per function


Task State Analysis (Graphical display)

  • Full black block: running
  • Thick red line low: ready
  • Small black line low: suspended
  • Small black line low: waiting


 

Graphical Analysis of Variables Values over the Time


The calculation of all Statisic Functions is based on the contents of the trace buffer. The best results can be reached by using a big trace buffer or by using trace filters.


Graphical Analysis of the Value of a Single Variable

Various display formats are provided.


Graphical Analysis of the Values of up to 6 Variables

Each colour represents one variable.


 

Analysis of the Time Interval of a Single Event


  • samples: total number of analyzed samples
  • avr: average interval
  • min: smallest interval
  • max: longest interval
16 time classes are automatically displayed. User-defined time classes are also possible.


 

Analysis of the Time Interval between 2 Defined Events


  • samples: total number of analyzed samples
  • avr: average interval
  • min: smallest interval
  • max: longest interval
16 time classes are automatically displayed. User-defined time classes are also possible.






Copyright © 2023 Lauterbach GmbH, Altlaufstr.40, 85635 Höhenkirchen-Siegertsbrunn, Germany   Impressum     Privacy Policy
The information presented is intended to give overview information only.
Changes and technical enhancements or modifications can be made without notice. Report Errors
Last generated/modified: 02-Jan-2023