This is a static copy of a profile report

Home

Function details for printjobThis is a static copy of a profile report

Home

printjob (Calls: 2, Time: 0.016 s)
Generated 02-May-2020 21:54:37 using performance time.
function in file /Applications/MATLAB_R2018a.app/toolbox/matlab/graphics/printjob.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
saveasfunction1
print>LocalCreatePrintJobsubfunction1
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
22
pj = matlab.graphics.internal....
20.010 s58.7%
19
if useOriginalHGPrinting(varar...
20.006 s39.4%
24
end
20.000 s0.1%
23
end
20.000 s0.0%
21
else
20.000 s0.0%
All other lines  0.000 s1.8%
Totals  0.016 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
mlprintjob>mlprintjob.mlprintjobclass method20.009 s53.8%
graphics/private/useOriginalHGPrintingfunction20.006 s37.1%
Self time (built-ins, overhead, etc.)  0.001 s9.1%
Totals  0.016 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.006 
      2 
  19
    if useOriginalHGPrinting(varargin{:}) 
  20 
       pj = getPJStruct();
< 0.001 
      2 
  21
    else 
  0.010 
      2 
  22
       pj = matlab.graphics.internal.mlprintjob; 
< 0.001 
      2 
  23
    end 
< 0.001 
      2 
  24
end 

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