This is a static copy of a profile report

Home

imagesci\private\imbmpinfo>decodeCompression (1 call, 0.000 sec)
Generated 15-Mar-2007 12:01:58 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
ima...te\imbmpinfo>readWin3xBitmapHeaderM-subfunction1
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
314
msg = '';
10.000 s67.3%
318
compressionType = 'none';
10.000 s32.7%
317
case 0
10 s0%
316
switch compNum
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 file35
Non-code lines (comments, blank lines)15
Code lines (lines that can run)20
Code lines that did run4
Code lines that did not run16
Coverage (did run/can run)20.00 %
Function listing
   time   calls  line
311 function [compressionType, msg] = decodeCompression(compNum, verName)
312 %DECODECOMPRESSION Find the compression type given the header value.
313
< 0.01 1 314 msg = '';
315
1 316 switch compNum
1 317 case 0
< 0.01 1 318 compressionType = 'none';
319
320 case 1
321 compressionType = '8-bit RLE';
322
323 case 2
324 compressionType = '4-bit RLE';
325
326 case 3
327 if (isequal(verName, 'Version 3'))
328 compressionType = 'bitfields';
329 else
330 % OS/2 2.x
331 compressionType = 'Huffman 1D';
332 end
333
334 case 4
335 % Only valid for OS/2 2.x
336 compressionType = '24-bit RLE';
337
338 otherwise
339 compressionType = '';
340 msg = 'Unrecognized compression type';
341
342 end
343
344
345

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