print>LocalCreatePrintJob (Calls: 12, Time: 0.217 s)
Generated 16-Jul-2020 17:08:37 using performance time.
subfunction in file /Applications/MATLAB_R2020a.app/toolbox/matlab/graphics/printing/print.m
Copy to new window for comparing multiple runs
Function Name | Function Type | Calls |
function | 12 |
Line Number | Code | Calls | Total Time | % Time | Time Plot |
102 | pj = printjob([handles{:}]); | 12 | 0.186 s | 85.8% | |
101 | handles = checkArgsForHandleTo... | 12 | 0.019 s | 8.5% | |
105 | if isCharOrString(varargin{idx... | 36 | 0.006 s | 2.6% | |
103 | if ~pj.UseOriginalHGPrinting &... | 12 | 0.003 s | 1.2% | |
100 | varargin = convertStringToChar... | 12 | 0.002 s | 0.7% | |
All other lines | 0.002 s | 1.1% | |||
Totals | 0.217 s | 100% |
Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
printjob | function | 12 | 0.180 s | 82.9% | |
printing/...te/checkArgsForHandleToPrint | function | 12 | 0.016 s | 7.5% | |
isCharOrString | function | 36 | 0.002 s | 0.9% | |
convertStringToCharArgs | function | 12 | 0.001 s | 0.5% | |
Self time (built-ins, overhead, etc.) | 0.018 s | 8.2% | |||
Totals | 0.217 s | 100% |
Total lines in function | 21 |
Non-code lines (comments, blank lines) | 3 |
Code lines (lines that can run) | 18 |
Code lines that did run | 12 |
Code lines that did not run | 6 |
Coverage (did run/can run) | 66.67 % |
time | Calls | line | |
---|---|---|---|
94 | function [pj, varargin] = LocalCreatePrintJob(varargin) | ||
95 | |||
96 | import matlab.graphics.internal.*; | ||
< 0.001 | 12 | 97 | if ~nargin |
98 | varargin = {}; | ||
< 0.001 | 12 | 99 | end |
0.002 | 12 | 100 | varargin = convertStringToCharArgs(varargin); |
0.019 | 12 | 101 | handles = checkArgsForHandleToPrint(0, varargin{:}); |
0.186 | 12 | 102 | pj = printjob([handles{:}]); |
0.003 | 12 | 103 | if ~pj.UseOriginalHGPrinting && ~isempty(varargin) |
< 0.001 | 12 | 104 | for idx = 1:length(varargin) |
0.006 | 36 | 105 | if isCharOrString(varargin{idx}) && strcmp('-printjob', varargin{idx}) && ... |
106 | (idx+1) <= length(varargin) | ||
107 | userSuppliedPJ = varargin{idx+1}; | ||
108 | pj = pj.updateFromPrintjob(userSuppliedPJ); | ||
109 | varargin = {varargin{1:idx-1} varargin{idx+2:end}}; | ||
110 | break; | ||
< 0.001 | 36 | 111 | end |
< 0.001 | 36 | 112 | end |
< 0.001 | 12 | 113 | end |
< 0.001 | 12 | 114 | end |
Other subfunctions in this file are not included in this listing.