This is a static copy of a profile reportHome
imagesci\private\imbmpinfo>initializeInfoStruct (1 call, 0.000 sec)
Generated 15-Mar-2007 12:01:57 using real time.
M-subfunction in file C:\Program Files\MATLAB71\toolbox\matlab\imagesci\private\imbmpinfo.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 |
78 | info.Filename = filename; | 1 | 0.000 s | 24.3% |  |
81 | info.Format = 'bmp'; | 1 | 0.000 s | 9.9% |  |
79 | info.FileModDate = d.date; | 1 | 0.000 s | 7.5% |  |
82 | info.FormatVersion = []; | 1 | 0.000 s | 7.5% |  |
83 | info.Width = []; | 1 | 0.000 s | 5.8% |  |
Other lines & overhead | | | 0 s | 0% |  |
Totals | | | 0.000 s | 100% | |
Children (called functions)
No childrenM-Lint results
Coverage results
[ Show coverage for parent directory ]
Total lines in file | 31 |
Non-code lines (comments, blank lines) | 14 |
Code lines (lines that can run) | 17 |
Code lines that did run | 17 |
Code lines that did not run | 0 |
Coverage (did run/can run) | 100.00 % |
Function listing
time calls line
69 function info = initializeInfoStruct(fid)
70 %INITIALIZEINFOSTRUCT Create and initialize the info struct, fixing fields.
71
1 72 filename = fopen(fid); % Get the full path name if not in pwd
1 73 d = dir(filename); % Read directory information
74
75 %
76 % Initialize universal structure fields to fix the order
77 %
< 0.01 1 78 info.Filename = filename;
< 0.01 1 79 info.FileModDate = d.date;
< 0.01 1 80 info.FileSize = d.bytes;
< 0.01 1 81 info.Format = 'bmp';
< 0.01 1 82 info.FormatVersion = [];
< 0.01 1 83 info.Width = [];
< 0.01 1 84 info.Height = [];
< 0.01 1 85 info.BitDepth = [];
< 0.01 1 86 info.ColorType = [];
< 0.01 1 87 info.FormatSignature = [];
88
89 %
90 % Initialize BMP-specific structure fields to fix the order
91 %
< 0.01 1 92 info.NumColormapEntries = [];
< 0.01 1 93 info.Colormap = [];
< 0.01 1 94 info.RedMask = [];
< 0.01 1 95 info.GreenMask = [];
< 0.01 1 96 info.BlueMask = [];
97
98
99
Other subfunctions in this file are not included in this listing.