This is a static copy of a profile report

Home

hggetbehavior>localPeek (156 calls, 0.000 sec)
Generated 14-Nov-2016 07:47:21 using cpu time.
subfunction in file /usr/local/MATLAB/MATLAB_Production_Server/R2015a/toolbox/matlab/graphics/hggetbehavior.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
hggetbehaviorfunction156
Lines where the most time was spent
No measurable time spent in this function

Line NumberCodeCallsTotal Time% TimeTime Plot
125
if isfield(bb,behavior_name)
1560 s0%
121
bb = get(h,'Behavior');
1560 s0%
120
if isprop(handle(h),'Behavior'...
1560 s0%
119
ret_h = handle([]);
1560 s0%
All other lines  0 s0%
Totals  0 s0% 
Children (called functions)
No children
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function12
Non-code lines (comments, blank lines)3
Code lines (lines that can run)9
Code lines that did run4
Code lines that did not run5
Coverage (did run/can run)44.44 %
Function listing
time 
calls 
 line
 116 
function [ret_h] = localPeek(h,behavior_name)
 117 
% Loop through available behavior objects
 118 

    156 
 119 
ret_h = handle([]); 
    156 
 120 
if isprop(handle(h),'Behavior') 
    156 
 121 
    bb = get(h,'Behavior'); 
 122 
else
 123 
    return
 124 
end
    156 
 125 
if isfield(bb,behavior_name) 
 126 
    ret_h = bb(1).(behavior_name);
 127 
end