This is a static copy of a profile report

Home

imclearborder>parse_inputs (1721 calls, 0.290 sec)
Generated 05-Nov-2014 07:52:43 using cpu time.
subfunction in file /usr1/opt/matlab/7.13/toolbox/images/images/imclearborder.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
imclearborderfunction1721
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
124
iptcheckconn(conn,mfilename,'C...
17210.100 s34.5%
114
iptchecknargin(1,2,nargin,mfil...
17210.060 s20.7%
117
iptcheckinput(im, {'numeric' '...
17210.040 s13.8%
125
end
17210.020 s6.9%
123
conn = varargin{2};
17210.020 s6.9%
All other lines  0.050 s17.2%
Totals  0.290 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
iptcheckconnfunction17210.090 s31.0%
iptchecknarginfunction17210.020 s6.9%
iptcheckinputMEX-file17210.010 s3.4%
Self time (built-ins, overhead, etc.)  0.170 s58.6%
Totals  0.290 s100% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
[ Show coverage for parent directory ]
Total lines in function15
Non-code lines (comments, blank lines)6
Code lines (lines that can run)9
Code lines that did run8
Code lines that did not run1
Coverage (did run/can run)88.89 %
Function listing
   time   calls  line
111 function [im,conn] = parse_inputs(varargin)
112
113
0.06 1721 114 iptchecknargin(1,2,nargin,mfilename);
115
0.01 1721 116 im = varargin{1};
0.04 1721 117 iptcheckinput(im, {'numeric' 'logical'}, {'nonsparse' 'real'}, ...
118 mfilename, 'IM', 1);
119
0.01 1721 120 if nargin < 2
121 conn = conndef(ndims(im),'maximal');
0.01 1721 122 else
0.02 1721 123 conn = varargin{2};
0.10 1721 124 iptcheckconn(conn,mfilename,'CONN',2);
0.02 1721 125 end

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