Initializing help system before first use

Starting a Profiling Session

Complete the following steps to start profiling a Mosel model:
  1. In the Run Configurations drop-down list, select the Mosel source file that you want to profile.
  2. Click Run Tools (the fourth button to the right of the Run Configurations drop-down list).
  3. In the menu that appears, click Show Run Dialog.
  4. In the Run Model dialog box, set the Run Mode field to Profile the Model.
  5. Click Run.

    When the model has finished running, a file with the extension .prof is written into the same directory as the source file. Each line in this file contains:

    • The number of times the corresponding statement has been executed.
    • The total amount of time (in seconds) spent on this particular line (this measure is not valid if the statement is a recursive call).
    • The elapsed time (in seconds) between the beginning of the execution and the last time the line was executed.
    • The text of the model source.
    Note If the model runs additional submodels via mmjobs, the .prof files are written similarly to the way the main model is written.