This is a static copy of a profile report

Home

printjob (Calls: 24, Time: 0.312 s)
Generated 16-Jul-2020 17:09:14 using performance time.
function in file /Applications/MATLAB_R2020a.app/toolbox/matlab/graphics/printing/printjob.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
saveasfunction12
print>LocalCreatePrintJobsubfunction12
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
19
if useOriginalHGPrinting(varar...
240.281 s90.2%
22
pj = matlab.graphics.internal....
240.030 s9.6%
24
end
240.000 s0.0%
23
end
240.000 s0.0%
21
else
240.000 s0.0%
All other lines  0.001 s0.2%
Totals  0.312 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
printing/private/useOriginalHGPrintingfunction240.280 s90.0%
mlprintjob>mlprintjob.mlprintjobclass method240.026 s8.3%
Self time (built-ins, overhead, etc.)  0.005 s1.7%
Totals  0.312 s100% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function24
Non-code lines (comments, blank lines)18
Code lines (lines that can run)6
Code lines that did run5
Code lines that did not run1
Coverage (did run/can run)83.33 %
Function listing
time 
Calls 
 line
   1 
function pj = printjob(varargin)
   2 
%PRINTJOB Constructor for PrintJob objects.
   3 
%   PrintJob is the object used to encapsulate all the data needed to export
   4 
%   Figures and models from MATLAB and Simulink. Constructor defines every
   5 
%   class variable and gives them default values. Comments in this file 
   6 
%   describe what each variable is for. It is not meant that MATLAB users 
   7 
%   will create PrintJob objects themselves; unless they are trying to take 
   8 
%   full control of the outputting of a Figure or graph. PrintJob is used by
   9 
%   the various MATLAB files that control printing and image output from MATLAB
  10 
%   and Simulink.
  11 
%
  12 
%   Ex:
  13 
%      pj = PRINTJOB; 
  14 
%
  15 
%   See also PRINT.
  16 

  17 
%   Copyright 1984-2013 The MathWorks, Inc.
  18 

  0.281 
     24 
  19
    if useOriginalHGPrinting(varargin{:}) 
  20 
       pj = getPJStruct();
< 0.001 
     24 
  21
    else 
  0.030 
     24 
  22
       pj = matlab.graphics.internal.mlprintjob; 
< 0.001 
     24 
  23
    end 
< 0.001 
     24 
  24
end 

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