This is a static copy of a profile report

Home

openfig>cleanUp (1 call, 0.020 sec)
Generated 05-Nov-2014 07:52:56 using cpu time.
subfunction in file /usr1/opt/matlab/7.13/toolbox/matlab/graphics/openfig.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
openfig>@(o,e)cleanUp(o,e,filename)anonymous function1
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
145
token = getToken(filename);
10.020 s100.0%
154
end
10 s0%
150
rmappdata(0,token);
10 s0%
149
if isempty(figs)
10 s0%
148
figs(figs==fig)=[];
10 s0%
All other lines  0 s0%
Totals  0.020 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
openfig>getTokensubfunction10.020 s100.0%
Self time (built-ins, overhead, etc.)  0 s0%
Totals  0.020 s100% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
[ Show coverage for parent directory ]
Total lines in function12
Non-code lines (comments, blank lines)2
Code lines (lines that can run)10
Code lines that did run7
Code lines that did not run3
Coverage (did run/can run)70.00 %
Function listing
   time   calls  line
143 function cleanUp(fig,~,filename)
144 % remove the appData added for this fig on root
0.02 1 145 token = getToken(filename);
1 146 figs = getappdata(0, token);
1 147 if ~isempty(figs)
1 148 figs(figs==fig)=[];
1 149 if isempty(figs)
1 150 rmappdata(0,token);
151 else
152 setappdata(0,token,figs);
153 end
1 154 end

Other subfunctions in this file are not included in this listing.