This is a static copy of a profile report

Home

hggetbehavior>localPeek (5 calls, 0.000 sec)
Generated 28-Feb-2011 19:17:59 using cpu time.
M-subfunction in file /Applications/MATLAB_R2010a.app/toolbox/matlab/graphics/hggetbehavior.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
hggetbehavior>localGetM-subfunction5
Lines where the most time was spent
No measurable time spent in this function

Line NumberCodeCallsTotal Time% TimeTime Plot
112
if isfield(bb,behavior_name)
50 s0%
110
bb = get(h,'Behavior');
50 s0%
109
ret_h = handle([]);
50 s0%
All other lines  0 s0%
Totals  0 s0% 
Children (called functions)
No children
M-Lint results
Line numberMessage
Coverage results
[ Show coverage for parent directory ]
Total lines in function9
Non-code lines (comments, blank lines)4
Code lines (lines that can run)5
Code lines that did run3
Code lines that did not run2
Coverage (did run/can run)60.00 %
Function listing
   time   calls  line
106 function [ret_h] = localPeek(h,behavior_name)
107 % Loop through available behavior objects
108
5 109 ret_h = handle([]);
5 110 bb = get(h,'Behavior');
111
5 112 if isfield(bb,behavior_name)
113 ret_h = bb(1).(behavior_name);
114 end