This is a static copy of a profile reportHome
print>LocalCreatePrintJob (40 calls, 0.175 sec)
Generated 05-Aug-2011 13:03:30 using cpu time.
subfunction in file /usr/local/MATLAB/R2011a/toolbox/matlab/graphics/print.m
Copy to new window for comparing multiple runs
Parents (calling functions)
Function Name | Function Type | Calls |
print | function | 40 |
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
363 | pj = printjob; | 40 | 0.164 s | 93.8% |  |
375 | end | 40 | 0 s | 0% |  |
364 | if feature('HGUsingMATLABClass... | 40 | 0 s | 0% |  |
359 | if ~nargin | 40 | 0 s | 0% |  |
All other lines | | | 0.011 s | 6.3% |  |
Totals | | | 0.175 s | 100% | |
Children (called functions)
Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
printjob | function | 40 | 0.153 s | 87.5% |  |
Self time (built-ins, overhead, etc.) | | | 0.022 s | 12.5% |  |
Totals | | | 0.175 s | 100% | |
Code Analyzer results
No Code Analyzer messages.Coverage results
[ Show coverage for parent directory ]
Total lines in function | 18 |
Non-code lines (comments, blank lines) | 3 |
Code lines (lines that can run) | 15 |
Code lines that did run | 4 |
Code lines that did not run | 11 |
Coverage (did run/can run) | 26.67 % |
Function listing
time calls line
358 function [pj, varargin] = LocalCreatePrintJob(varargin)
40 359 if ~nargin
360 varargin = {};
361 end
362
0.16 40 363 pj = printjob;
40 364 if feature('HGUsingMATLABClasses') && ~isempty(varargin)
365 for idx = 1:length(varargin)
366 if ischar(varargin{idx}) && strcmp('-printjob', varargin{idx}) && ...
367 (idx+1) <= length(varargin)
368 userSuppliedPJ = varargin{idx+1};
369 pj = pj.updateFromPrintjob(userSuppliedPJ);
370 varargin = {varargin{1:idx-1} varargin{idx+2:end}};
371 break;
372 end
373 end
374 end
40 375 end
Other subfunctions in this file are not included in this listing.