This is a static copy of a profile report

Home

@timer\private\getSettableValues (2 calls, 0.000 sec)
Generated 15-Mar-2007 12:01:50 using real time.
M-function in file C:\Program Files\MATLAB71\toolbox\matlab\iofun\@timer\private\getSettableValues.m
[Copy to new window for comparing multiple runs]

Parents (calling functions)

Function NameFunction TypeCalls
timer.setM-function2
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
15
propnames = [];
20.000 s100.0%
25
end
20 s0%
24
end
20 s0%
23
props{objnum} = get(obj.jobjec...
20 s0%
21
end
20 s0%
Other lines & overhead  0 s0%
Totals  0.000 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
timer.lengthM-function20 s0%
@timer\private\isJavaTimerM-function20 s0%
Self time (built-ins, overhead, etc.)  0 s0%
Totals  0.000 s100% 
M-Lint results
Line numberMessage
23Array 'props' might be grown using indexing. Consider preallocating for speed.
Coverage results
[ Show coverage for parent directory ]
Total lines in file25
Non-code lines (comments, blank lines)15
Code lines (lines that can run)10
Code lines that did run10
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
   time   calls  line
1 function [propnames,props] = getSettableValues(obj)
2 %getSettableValues gets all the settable values of a timer object array
3 %
4 % getSettableValues(OBJ) returns the settable values of OBJ as a list of settable
5 % property names and a cell array containing the values.
6 %
7 % See Also: TIMER/PRIVATE/RESETVALUES
8
9 % RDD 1-18-2002
10 % Copyright 2001-2002 The MathWorks, Inc.
11 % $Revision: 1.2 $ $Date: 2002/03/14 14:35:13 $
12
2 13 objlen = length(obj);
14
< 0.01 2 15 propnames = [];
16 % foreach valid timer object...
2 17 for objnum=1:objlen
2 18 if isJavaTimer(obj.jobject(objnum)) % valid java object found
2 19 if isempty(propnames) % if settable propnames are not yet known, get them from set
2 20 propnames = fieldnames(set(obj.jobject(objnum)));
2 21 end
22 % the the settable values of the valid timer object
2 23 props{objnum} = get(obj.jobject(objnum),propnames);
2 24 end
2 25 end