This is a static copy of a profile reportHome
images/private/mkconstarray (53999 calls, 9.573 sec)
Generated 05-Nov-2014 07:52:39 using cpu time.
function in file /usr1/opt/matlab/7.13/toolbox/images/images/private/mkconstarray.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 |
9 | out = repmat(feval(class, valu... | 53999 | 8.882 s | 92.8% |  |
All other lines | | | 0.691 s | 7.2% |  |
Totals | | | 9.573 s | 100% | |
Children (called functions)
Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
repmat | function | 53999 | 7.260 s | 75.8% |  |
Self time (built-ins, overhead, etc.) | | | 2.313 s | 24.2% |  |
Totals | | | 9.573 s | 100% | |
Code Analyzer results
No Code Analyzer messages.Coverage results
[ Show coverage for parent directory ]
Total lines in function | 9 |
Non-code lines (comments, blank lines) | 8 |
Code lines (lines that can run) | 1 |
Code lines that did run | 1 |
Code lines that did not run | 0 |
Coverage (did run/can run) | 100.00 % |
Function listing
time calls line
1 function out = mkconstarray(class, value, size)
2 %MKCONSTARRAY creates a constant array of a specified numeric class.
3 % A = MKCONSTARRAY(CLASS, VALUE, SIZE) creates a constant array
4 % of value VALUE and of size SIZE.
5
6 % Copyright 1993-2003 The MathWorks, Inc.
7 % $Revision: 1.8.4.1 $ $Date: 2003/01/26 06:00:35 $
8
8.88 53999 9 out = repmat(feval(class, value), size);
Other subfunctions in this file are not included in this listing.