This is a static copy of a profile report

Home

imagesci/private/readtif>isPositiveFiniteIntegerScalar (11550 calls, 0.290 sec)
Generated 05-Nov-2014 07:52:37 using cpu time.
subfunction in file /usr1/opt/matlab/7.13/toolbox/matlab/imagesci/private/readtif.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
imagesci/private/readtif>checkIndexsubfunction11550
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
224
tf = isnumeric(values) &&a...
115500.200 s69.0%
228
(numel(values) == 1);
115500.020 s6.9%
All other lines  0.070 s24.1%
Totals  0.290 s100% 
Children (called functions)
No children
Code Analyzer results
No Code Analyzer messages.
Coverage results
[ Show coverage for parent directory ]
Total lines in function7
Non-code lines (comments, blank lines)5
Code lines (lines that can run)2
Code lines that did run2
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
   time   calls  line
222 function tf = isPositiveFiniteIntegerScalar(values)
223
0.20 11550 224 tf = isnumeric(values) && ...
225 all(rem(values, 1) == 0) && ...
226 all(~isinf(values)) && ...
227 all(values > 0) && ...
0.02 11550 228 (numel(values) == 1);