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
Function Name | Function Type | Calls |
saveas | function | 12 |
print>LocalCreatePrintJob | subfunction | 12 |
Line Number | Code | Calls | Total Time | % Time | Time Plot |
19 | if useOriginalHGPrinting(varar... | 24 | 0.281 s | 90.2% | |
22 | pj = matlab.graphics.internal.... | 24 | 0.030 s | 9.6% | |
24 | end | 24 | 0.000 s | 0.0% | |
23 | end | 24 | 0.000 s | 0.0% | |
21 | else | 24 | 0.000 s | 0.0% | |
All other lines | 0.001 s | 0.2% | |||
Totals | 0.312 s | 100% |
Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
printing/private/useOriginalHGPrinting | function | 24 | 0.280 s | 90.0% | |
mlprintjob>mlprintjob.mlprintjob | class method | 24 | 0.026 s | 8.3% | |
Self time (built-ins, overhead, etc.) | 0.005 s | 1.7% | |||
Totals | 0.312 s | 100% |
Total lines in function | 24 |
Non-code lines (comments, blank lines) | 18 |
Code lines (lines that can run) | 6 |
Code lines that did run | 5 |
Code lines that did not run | 1 |
Coverage (did run/can run) | 83.33 % |
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.