This is a static copy of a profile reportHome
imreconstruct>ParseInputs (13839 calls, 3.244 sec)
Generated 05-Nov-2014 07:52:44 using cpu time.
subfunction in file /usr1/opt/matlab/7.13/toolbox/images/images/imreconstruct.m
Copy to new window for comparing multiple runs
Parents (calling functions)
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
95 | iptcheckconn(varargin{3},mfile... | 13839 | 1.692 s | 52.2% |  |
86 | validateattributes(varargin{1}... | 13839 | 0.360 s | 11.1% |  |
85 | iptchecknargin(2,3,nargin,mfil... | 13839 | 0.310 s | 9.6% |  |
88 | validateattributes(varargin{2}... | 13839 | 0.300 s | 9.3% |  |
83 | Conn = []; | 13839 | 0.140 s | 4.3% |  |
All other lines | | | 0.441 s | 13.6% |  |
Totals | | | 3.244 s | 100% | |
Children (called functions)
Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
iptcheckconn | function | 13839 | 1.502 s | 46.3% |  |
iptchecknargin | function | 13839 | 0.110 s | 3.4% |  |
Self time (built-ins, overhead, etc.) | | | 1.632 s | 50.3% |  |
Totals | | | 3.244 s | 100% | |
Code Analyzer results
No Code Analyzer messages.Coverage results
[ Show coverage for parent directory ]
Total lines in function | 17 |
Non-code lines (comments, blank lines) | 7 |
Code lines (lines that can run) | 10 |
Code lines that did run | 10 |
Code lines that did not run | 0 |
Coverage (did run/can run) | 100.00 % |
Function listing
time calls line
81 function [Marker,Mask,Conn] = ParseInputs(varargin)
82
0.14 13839 83 Conn = [];
84
0.31 13839 85 iptchecknargin(2,3,nargin,mfilename);
0.36 13839 86 validateattributes(varargin{1},{'numeric','logical'},{'real','nonsparse'},...
87 mfilename, 'MARKER', 1);
0.30 13839 88 validateattributes(varargin{2},{'numeric','logical'},{'real','nonsparse'},...
89 mfilename, 'MASK', 2);
90
0.06 13839 91 Marker = varargin{1};
0.05 13839 92 Mask = varargin{2};
93
0.02 13839 94 if nargin==3
1.69 13839 95 iptcheckconn(varargin{3},mfilename,'CONN',3);
0.05 13839 96 Conn = varargin{3};
0.06 13839 97 end