This is a static copy of a profile report

Home

printing/private/validate>locIsPageFormatOrPrinter (Calls: 12, Time: 0.002 s)
Generated 16-Jul-2020 17:09:16 using performance time.
subfunction in file /Applications/MATLAB_R2020a.app/toolbox/matlab/graphics/printing/private/validate.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
printing/private/validatefunction12
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
175
strncmpi(pj.Driver, 'win', 3) ...
120.000 s19.7%
178
any(strncmpi(pj.Driver, {'pdf'...
120.000 s19.1%
176
strcmp(pj.DriverClass, 'PR')  ...
120.000 s14.8%
177
(strcmp(pj.DriverClass, 'MW') ...
120.000 s13.4%
174
ispage = (isempty(pj.DriverCla...
120.000 s12.2%
All other lines  0.000 s20.9%
Totals  0.002 s100% 
Children (called functions)
No children
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function6
Non-code lines (comments, blank lines)1
Code lines (lines that can run)5
Code lines that did run5
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
time 
Calls 
 line
 173 
function ispage = locIsPageFormatOrPrinter(pj)
  0.001 
     12 
 174
    ispage = (isempty(pj.DriverClass) || ... % caller didn't specify a -d device 
     12 
 175
            strncmpi(pj.Driver, 'win', 3) || ... % or we're going directly to printer on windows 
     12 
 176
            strcmp(pj.DriverClass, 'PR')  || ... % or we're going directly to printer on any platform 
     12 
 177
            (strcmp(pj.DriverClass, 'MW') && ~pj.DriverExport) || ...  % printer on windows 
     12 
 178
            any(strncmpi(pj.Driver, {'pdf', 'ps', 'psc'}, 2))); 

Other subfunctions in this file are not included in this listing.