This is a static copy of a profile report Home
Function details for hggetbehavior>localPeek This is a static copy of a profile report Home
hggetbehavior>localPeek (Calls: 4, Time: 0.002 s) Generated 02-May-2020 21:54:31 using performance time. subfunction in file /Applications/MATLAB_R2018a.app/toolbox/matlab/graphics/hggetbehavior.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 120 if isprop(handle(h),'Behavior'... 4 0.001 s 27.0% 119 ret_h = handle([]); 4 0.000 s 21.3% 121 bb = get(h,'Behavior'); 4 0.000 s 19.3% 125 if isfield(bb,behavior_name) 4 0.000 s 14.4% 124 end 4 0.000 s 0.0% All other lines 0.000 s 18.0% Totals 0.002 s 100%
Children (called functions) No children
Code Analyzer results No Code Analyzer messages.
Coverage results Show coverage for parent directoryTotal lines in function 12 Non-code lines (comments, blank lines) 3 Code lines (lines that can run) 9 Code lines that did run 5 Code lines that did not run 4 Coverage (did run/can run) 55.56 %
Function listing time Calls line 116 function [ret_h] = localPeek(h,behavior_name) 117 % Loop through available behavior objects 118 < 0.001 4 119 ret_h = handle([]); < 0.001 4 120 if isprop(handle(h),'Behavior') < 0.001 4 121 bb = get(h,'Behavior'); 122 else 123 return < 0.001 4 124 end < 0.001 4 125 if isfield(bb,behavior_name) 126 ret_h = bb(1).(behavior_name); 127 end
Other subfunctions in this file are not included in this listing.