This is a static copy of a profile report

Home

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)

Function NameFunction TypeCalls
imagesci\private\imbmpinfoM-function1
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
78
info.Filename = filename;
10.000 s24.3%
81
info.Format = 'bmp';
10.000 s9.9%
79
info.FileModDate = d.date;
10.000 s7.5%
82
info.FormatVersion = [];
10.000 s7.5%
83
info.Width = [];
10.000 s5.8%
Other lines & overhead  0 s0%
Totals  0.000 s100% 
Children (called functions)
No children
M-Lint results
Line numberMessage
Coverage results
[ Show coverage for parent directory ]
Total lines in file31
Non-code lines (comments, blank lines)14
Code lines (lines that can run)17
Code lines that did run17
Code lines that did not run0
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.