This is a static copy of a profile report

Home

print>LocalHandleSimulink (40 calls, 0.011 sec)
Generated 05-Aug-2011 13:03:33 using cpu time.
subfunction in file /usr/local/MATLAB/R2011a/toolbox/matlab/graphics/print.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
printfunction40
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
332
if(isSLorSF(pj))
400.011 s100.0%
356
end
400 s0%
331
done = false;
400 s0%
329
persistent slSfPrintFcnHandle;
400 s0%
All other lines  0 s0%
Totals  0.011 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
graphics/private/isSLorSFfunction400.011 s100.0%
Self time (built-ins, overhead, etc.)  0 s0%
Totals  0.011 s100% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
[ Show coverage for parent directory ]
Total lines in function31
Non-code lines (comments, blank lines)11
Code lines (lines that can run)20
Code lines that did run4
Code lines that did not run16
Coverage (did run/can run)20.00 %
Function listing
   time   calls  line
326 function done = LocalHandleSimulink(pj)
327 % Function handle to be used for Simulink/Stateflow printing.
328 % Make persistent for efficiency (sramaswa)
40 329 persistent slSfPrintFcnHandle;
330
40 331 done = false;
0.01 40 332 if(isSLorSF(pj))
333 % New (UNIFIED) Editors
334 if(slfeature('SLGlueBigSwitch') == 1)
335 if(isempty(slSfPrintFcnHandle))
336 slSfPrintFcnHandle = LocalGetSlSfPrintFcnHandle;
337 end
338 feval(slSfPrintFcnHandle, pj);
339 done = true;
340 else
341 % Legacy (CLASSIC) Editors
342 % Just handle the pj.Verbose option i.e. bring up the print
343 % dialog when someone says File->Print from Stateflow Charts or
344 % print -v -s<slSystemName>. These are the 2 cases when this
345 % code would be hit.
346 % -sramaswa (for fixing 683121)
347 if(pj.Verbose)
348 h = pj.Handles{1};
349 if(is_simulink_handle(h))
350 slprivate('show_sl_print_dialog',h);
351 done = true;
352 end
353 end % if(pj.Verbose)
354 end
355 end % if(isSLorSF(pj))
40 356 end

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