This is a static copy of a profile report

Home

print>LocalHandleSimulink (6 calls, 0.000 sec)
Generated 14-Nov-2016 07:47:15 using cpu time.
subfunction in file /usr/local/MATLAB/MATLAB_Production_Server/R2015a/toolbox/matlab/graphics/print.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
printfunction6
Lines where the most time was spent
No measurable time spent in this function

Line NumberCodeCallsTotal Time% TimeTime Plot
330
end
60 s0%
315
if(isSLorSF(pj))
60 s0%
314
done = false;
60 s0%
312
persistent slSfPrintFcnHandle;
60 s0%
All other lines  0 s0%
Totals  0 s0% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
graphics/private/isSLorSFfunction60 s0%
Self time (built-ins, overhead, etc.)  0 s0%
Totals  0 s0% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function22
Non-code lines (comments, blank lines)7
Code lines (lines that can run)15
Code lines that did run4
Code lines that did not run11
Coverage (did run/can run)26.67 %
Function listing
time 
calls 
 line
 309 
function done = LocalHandleSimulink(pj)
 310 
    % Function handle to be used for Simulink/Stateflow printing.
 311 
    % Make persistent for efficiency (sramaswa)
      6 
 312 
    persistent slSfPrintFcnHandle; 
 313 

      6 
 314 
    done = false; 
      6 
 315 
    if(isSLorSF(pj)) 
 316 
        % Printer dialog
 317 
        if (ispc() && strcmp(pj.Driver,'setup'))
 318 
            eval('SLM3I.SLDomain.showPrintSetupDialog(pj.Handles{1}(1))');
 319 
            done = true;
 320 
            return;
 321 
        end
 322 
        
 323 
        if(isempty(slSfPrintFcnHandle))
 324 
            slSfPrintFcnHandle = LocalGetSlSfPrintFcnHandle;
 325 
        end
 326 
        %pj = name(pj);
 327 
        feval(slSfPrintFcnHandle, pj);
 328 
        done = true;
 329 
    end % if(isSLorSF(pj))
      6 
 330 
end 

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