printjob (12 calls, 0.020 sec)
Generated 14-Nov-2016 07:47:15 using cpu time.
function in file /usr/local/MATLAB/MATLAB_Production_Server/R2015a/toolbox/matlab/graphics/printjob.m
Copy to new window for comparing multiple runs
Function Name | Function Type | Calls |
saveas | function | 6 |
print>LocalCreatePrintJob | subfunction | 6 |
Line Number | Code | Calls | Total Time | % Time | Time Plot |
22 | pj = matlab.graphics.internal.... | 12 | 0.020 s | 100.0% | ![]() |
24 | end | 12 | 0 s | 0% | ![]() |
23 | end | 12 | 0 s | 0% | ![]() |
21 | else | 12 | 0 s | 0% | ![]() |
19 | if useOriginalHGPrinting(varar... | 12 | 0 s | 0% | ![]() |
All other lines | 0 s | 0% | ![]() | ||
Totals | 0.020 s | 100% |
Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
mlprintjob>mlprintjob.mlprintjob | subfunction | 12 | 0.020 s | 100.0% | ![]() |
graphics/private/useOriginalHGPrinting | function | 12 | 0 s | 0% | ![]() |
Self time (built-ins, overhead, etc.) | 0 s | 0% | ![]() | ||
Totals | 0.020 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 | |||
12 | 19 | if useOriginalHGPrinting(varargin{:}) | |
20 | pj = getPJStruct(); | ||
12 | 21 | else | |
0.02 | 12 | 22 | pj = matlab.graphics.internal.mlprintjob; |
12 | 23 | end | |
12 | 24 | end |
Other subfunctions in this file are not included in this listing.