This is a static copy of a profile report

Home

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 NameFunction TypeCalls
printfunction40
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
363
pj = printjob;
400.164 s93.8%
375
end
400 s0%
364
if feature('HGUsingMATLABClass...
400 s0%
359
if ~nargin
400 s0%
All other lines  0.011 s6.3%
Totals  0.175 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
printjobfunction400.153 s87.5%
Self time (built-ins, overhead, etc.)  0.022 s12.5%
Totals  0.175 s100% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
[ Show coverage for parent directory ]
Total lines in function18
Non-code lines (comments, blank lines)3
Code lines (lines that can run)15
Code lines that did run4
Code lines that did not run11
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.