How to: View Data Collected by the Code Profiler

Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

To view the data that is collected by the code profiler:

  1. Click Profiler runs.

  2. Select the data set that you want to view.

  3. Click the Statistics tab to view a summary of the information for the code profile.

  4. Click one of the following four buttons to view more detailed data:

    Call tree – Shows you a hierarchy of method calls

    Profile lines – Shows a list of all lines of code that are executed, making it easy to find which lines of code took the longest to execute.

    Traverse – Shows a sorted list of the time that was spent in all methods, combined with the sum of the time spent in sub calls, plus the sum of the time spent in the method, depending on the origin of the call.

    Totals – Allows you to select summaries of the time spent in lines, methods, and objects.

The Call tree, Profile lines, and Traverse forms show raw data. Aggregated data is available in the Totals options.

For more information about the statistics and the more detailed data, press F1 on the appropriate form in Microsoft Dynamics AX.

See also

MorphX Development Tools

How to: Use the Code Profiler

Using the Code Profiler from X++

Announcements: New book: "Inside Microsoft Dynamics AX 2012 R3" now available. Get your copy at the MS Press Store.