This is a static copy of a profile report

Home

print>LocalCreatePrintJob (6 calls, 0.010 sec)
Generated 14-Nov-2016 07:47:16 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

Line NumberCodeCallsTotal Time% TimeTime Plot
337
pj = printjob([handles{:}]);
60.010 s100.0%
349
end
60 s0%
348
end
60 s0%
347
end
180 s0%
340
if ischar(varargin{idx}) &...
180 s0%
All other lines  0 s0%
Totals  0.010 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
printjobfunction60.010 s100.0%
graphics/...te/checkArgsForHandleToPrintfunction60 s0%
Self time (built-ins, overhead, etc.)  0 s0%
Totals  0.010 s100% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function18
Non-code lines (comments, blank lines)2
Code lines (lines that can run)16
Code lines that did run9
Code lines that did not run7
Coverage (did run/can run)56.25 %
Function listing
time 
calls 
 line
 332 
function [pj, varargin] = LocalCreatePrintJob(varargin)
      6 
 333 
    if ~nargin 
 334 
        varargin = {};
 335 
    end
      6 
 336 
    handles = checkArgsForHandleToPrint(0, varargin{:}); 
  0.01 
      6 
 337 
    pj = printjob([handles{:}]); 
      6 
 338 
    if ~pj.UseOriginalHGPrinting && ~isempty(varargin)  
      6 
 339 
        for idx = 1:length(varargin) 
     18 
 340 
            if ischar(varargin{idx}) && strcmp('-printjob', varargin{idx}) && ... 
 341 
                    (idx+1) <= length(varargin)
 342 
                userSuppliedPJ = varargin{idx+1};
 343 
                pj = pj.updateFromPrintjob(userSuppliedPJ);
 344 
            varargin = {varargin{1:idx-1} varargin{idx+2:end}};
 345 
            break;
 346 
            end
     18 
 347 
        end 
      6 
 348 
    end 
      6 
 349 
end 

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