MATLAB POLYSPACE 7 Guida di Installazione Pagina 485

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 484
Profiling fo r Improving Performance
2 Start the graphical user interface. (If you d o not want to include its startup
process in the profile, do not click Start P rofiling, step 1, until after you
have started the graphical interface.)
3 Use the graphical interface. When you are finished, click Stop Profiling
in the Profiler.
The Profile Summary report appears in the Profiler.
Profiling Statements from the Command Window
To profile more than o ne statement, follow these steps:
1 In the Profiler, clear the Run this c ode field and click Start Profiling.
2 In the Command Window, enter and run the statements you want to profile.
3 After running all t he statements, click Stop Profiling in the Profi ler.
The Profile Summary report appears in the Profiler.
Changing Fonts for the Profiler
To change the fonts used in the Profiler, follow these steps:
1 Select File > Preferences > Fonts to open the Font Preferences dialog
box.
2 In the Font Preferences dialog box, select the code or tex t font that you
want to use in the Profiler. The Profiler is an H TML Proportional Text tool.
For more information, click the Help button in the dialog box.
3 Click Ap ply or OK. The Profiler font reflects the changes.
Profile Summary Report
The Profile Summary report presents statistics about the o verall execution of
the function and provides summary statistics for each function called. The
report formats these values in four columns.
F unction Name A list of all the functions and subfunctions called by
the profiled function. When first displayed, the functions are listed in
7-33
Vedere la pagina 484
1 2 ... 480 481 482 483 484 485 486 487 488 489 490 ... 617 618

Commenti su questo manuale

Nessun commento