Complete the following steps to start profiling a Mosel model:
- In the Run Configurations drop-down list, select the Mosel source file that you want to profile.
- Click Run Tools (the fourth button to the right of the Run Configurations drop-down list).
- In the menu that appears, click Show Run Dialog.
- In the Run Model dialog box, set the Run Mode field to Profile the Model.
- 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.
|