This is a static copy of a profile reportHome
imagesci/private/readtif>check_info (11550 calls, 0.481 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)
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
138 | if ~all(isfield(info, {'Filena... | 11361 | 0.300 s | 62.5% |  |
134 | if isempty(info) | 11550 | 0.020 s | 4.2% |  |
135 | return | 189 | 0 s | 0% |  |
All other lines | | | 0.160 s | 33.3% |  |
Totals | | | 0.481 s | 100% | |
Children (called functions)
No childrenCode Analyzer results
No Code Analyzer messages.Coverage results
[ Show coverage for parent directory ]
Total lines in function | 13 |
Non-code lines (comments, blank lines) | 7 |
Code lines (lines that can run) | 6 |
Code lines that did run | 3 |
Code lines that did not run | 3 |
Coverage (did run/can run) | 50.00 % |
Function listing
time calls line
131 function check_info(info)
132 %CHECK_INFO Issue error message if user passed in invalid info struct.
133
0.02 11550 134 if isempty(info)
189 135 return
136 end
137
0.30 11361 138 if ~all(isfield(info, {'Filename', 'FileModDate', 'FileSize', ...
139 'Format', 'FormatVersion', 'Width', ...
140 'Height', 'BitDepth', 'ColorType', ...
141 'FormatSignature'}))
142 error(message('MATLAB:imagesci:readtif:invalidInfoStruct'));
143 end
Other subfunctions in this file are not included in this listing.