Source Profiler

Main GoLogic Help

Description
The Source Profiler PlugIn graphs the functions found in the trace data. All functions found in the trace data are graphed. Each function uses a separate column of a different color. The vertical axis can represent either time or the total number of calls made into the function.

The Source Profiler PlugIn uses a symbol table’s debugging information to determine the each function's entry and exit address. The symbol table’s debugging information is created by the compiler or assembler used on the source code. The Source Profiler PlugIn cannot operate without this line-number information.

Load a symbol table into the channel group associated with the address bus. An error message is displayed if a valid symbol table is not loaded into the address bus. Symbol tables are loaded into the channel groups in the Setup window's Channel group's tab. See the Chapter 3 - Setup step two: channel groups chapter for details on how to load a symbol table into a channel group.
 

Options
The Source Profiler PlugIn is configured by clicking the button. This button is available in both the PlugIn Manager window (next to the plugin name in the activated list) and the toolbar area of active Source Profiler PlugIn window.

The setup dialog is displayed after clicking the setup button...
 


 

  • View - Trace or reference data can be analyzed. If the selected data is not open, the window is empty.
  • Address bus - Select the channels that represent the address bus. If the desired channel group is not defined in the Setup window's Channel groups tab, you can enter the channels using the edit portion of the drop-down list control.
  • Show total time spent in each function - When this option is checked, the total time spent in each function is displayed above each column. If a trace sample's address bus falls inside the entry and exit addresses for a function, the sample-time is added to the function's total time.
  • Show average time spent in each function - When this option is checked, the average time spent in each function is displayed inside each column. The total time spent in each function is divided by the total calls into each function to create this value.
  • Show total calls made into each function - When this option is checked, the total calls made into each function is displayed inside each column. A "call" is defined as the function's entry-point address appearing in the trace data.
  • Graph by calls instead of time - When this option is checked, the vertical axis represents to total calls made into each function. Normally, the vertical axis represents the total time spent in each function in the trace data.
  • Scale vertical time-axis to the longest function time - When this option is checked, the function with the most time in the trace data defines the vertical time scale. This function's graph always matches the full graph height. The other functions which had less time are scaled accordingly. This option is not available if the "Graph by calls" option is checked.
 
Copyright and trademark information
Main GoLogic Help