Installation guide

7 Tuning and Managing M-Files
2 Click Start Profiling (or p ress Enter after typing the statement).
While the Profiler is running, the Profile time indicator (at the top right
of the Profiler window) is green and the number of seconds it reports
increases.
When the profiling is finished, the Profile time indicator becomes black
and shows the length of time the Profiler ran. The statements you profiled
are shown as having been executed in the C ommand Window.
This is not the actual time that your statements took to run; it is the wall
clock (or
tic/toc) time elapsed from when you clicked Start Profiling
until profiling stops. If the time reported is much different from w hat you
expected (for example, hundreds of seconds for a simple statement), you
might have had profilin g on longer than y ou realized. This a lso does not
match the time repo rted in Profiler statistics, which is based on
cpu time
by default, not wall clock time.
3 When profi
ling is complete, the Profile S ummary report appears in the
Profiler w
indow. For more information about this report, see “Profile
Summary R
eport” on page 7-33.
Profiling a Graphical User Interface
You can ru
n the Profiler for a graphical user interface, such as the Filter
Design an
d Analysis tool included with Signal Proces sing Too lbox . You can
also run t
he Profiler for an interface you created, such as one built using
GUIDE.
To profi
le a graphical user interface, follow these steps:
1 In the Profiler, click Start P rofiling. Makesurethatnocodeappears
in the Run this code fi eld.
7-32