This is a static copy of a profile report

Home

images/private/morphop>useIPP3x3 (12322 calls, 0.611 sec)
Generated 05-Nov-2014 07:53:24 using cpu time.
subfunction in file /usr1/opt/matlab/7.13/toolbox/images/images/private/morphop.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
images/private/morphop>ParseInputssubfunction12322
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
281
if ~isempty(se) && str...
123220.150 s24.6%
280
TF = false;
123220.100 s16.4%
283
else
123220.060 s9.8%
284
return;
123220.040 s6.6%
All other lines  0.260 s42.6%
Totals  0.611 s100% 
Children (called functions)
No children
Code Analyzer results
Line numberMessage
288STRMATCH will be removed in a future release. Use STRNCMP instead.
Coverage results
[ Show coverage for parent directory ]
Total lines in function12
Non-code lines (comments, blank lines)3
Code lines (lines that can run)9
Code lines that did run4
Code lines that did not run5
Coverage (did run/can run)44.44 %
Function listing
   time   calls  line
278 function TF = useIPP3x3(class_A,se,is2DInput,strelIsSingle,strelIsAll2D)
279
0.10 12322 280 TF = false;
0.15 12322 281 if ~isempty(se) && strelIsSingle
282 nhood = getnhood(se);
0.06 12322 283 else
0.04 12322 284 return;
285 end
286
287 is3x3nhood = isequal(nhood,ones(3));
288 supportedType = ~isempty(strmatch(class_A,{'single','uint8','uint16'}));
289 TF = is3x3nhood && is2DInput && supportedType && strelIsAll2D && ippl();

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