This is a static copy of a profile report

Home

makeresampler>GetCanonicalString (3442 calls, 1.252 sec)
Generated 05-Nov-2014 07:52:59 using cpu time.
subfunction in file /usr1/opt/matlab/7.13/toolbox/images/images/makeresampler.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
makeresampler>StandardKernelsubfunction1721
makeresampler>MakeSeparablesubfunction1721
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
445
imatch = strmatch(lower(input_...
34421.132 s90.4%
452
if nmatch > 1
34420.030 s2.4%
446
nmatch = length(imatch);
34420.020 s1.6%
456
canonical_string = canonical_s...
34420.010 s0.8%
448
if nmatch == 0
34420.010 s0.8%
All other lines  0.050 s4.0%
Totals  1.252 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
cell.strmatchfunction34421.071 s85.6%
Self time (built-ins, overhead, etc.)  0.180 s14.4%
Totals  1.252 s100% 
Code Analyzer results
Line numberMessage
445STRMATCH will be removed in a future release. Use STRNCMP instead.
Coverage results
[ Show coverage for parent directory ]
Total lines in function19
Non-code lines (comments, blank lines)7
Code lines (lines that can run)12
Code lines that did run6
Code lines that did not run6
Coverage (did run/can run)50.00 %
Function listing
   time   calls  line
438 function canonical_string = GetCanonicalString(...
439 input_string, property_name, canonical_strings)
440
3442 441 if ~ischar(input_string)
442 error(message('images:makeresampler:invalidPropertyName', property_name))
443 end
444
1.13 3442 445 imatch = strmatch(lower(input_string),canonical_strings);
0.02 3442 446 nmatch = length(imatch);
447
0.01 3442 448 if nmatch == 0
449 error(message('images:makeresampler:unknownPropertyName', property_name, input_string))
450 end
451
0.03 3442 452 if nmatch > 1
453 error(message('images:makeresampler:ambiguousPropertyValue', property_name, input_string))
454 end
455
0.01 3442 456 canonical_string = canonical_strings{imatch};

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