This is a static copy of a profile report

Home

imagesci\private\imbmpinfo>postProcess (1 call, 0.000 sec)
Generated 15-Mar-2007 12:01:59 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
581
msg = '';
10.000 s96.5%
583
if (isempty(info.NumColormapEn...
10.000 s3.5%
597
if (info.Width < 0)
10 s0%
595
end
10 s0%
594
end
10 s0%
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 file27
Non-code lines (comments, blank lines)9
Code lines (lines that can run)18
Code lines that did run10
Code lines that did not run8
Coverage (did run/can run)55.56 %
Function listing
   time   calls  line
578 function [info, msg] = postProcess(info)
579 %POSTPROCESS Perform some post processing and validity checking.
580
< 0.01 1 581 msg = '';
582
< 0.01 1 583 if (isempty(info.NumColormapEntries))
584 info.NumColormapEntries = 0;
585 end
586
1 587 if (info.NumColormapEntries > 0)
588 info.ColorType = 'indexed';
1 589 else
1 590 if (info.BitDepth <= 8)
591 info.ColorType = 'grayscale';
1 592 else
1 593 info.ColorType = 'truecolor';
1 594 end
1 595 end
596
1 597 if (info.Width < 0)
598 info = [];
599 msg = 'Corrupt BMP file: bad image dimensions';
600 return;
601 end
602
603
604

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