This is a static copy of a profile report Home
Function details for snapnow>makeCounter/getCounter This is a static copy of a profile report Home
snapnow>makeCounter/getCounter (Calls: 10, Time: 0.000 s) Generated 28-Jun-2020 10:10:22 using performance time. nested function in file /Applications/MATLAB_R2018a.app/toolbox/matlab/codetools/snapnow.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 247 end 10 0.000 s 2.3% 246 count = currentCount; 10 0.000 s 0.5% 245 currentCount = currentCount + ... 10 0.000 s 0.4% All other lines 0.000 s 96.8% Totals 0.000 s 100%
Children (called functions) No children
Code Analyzer results No Code Analyzer messages.
Coverage results Show coverage for parent directoryTotal lines in function 6 Non-code lines (comments, blank lines) 3 Code lines (lines that can run) 3 Code lines that did run 3 Code lines that did not run 0 Coverage (did run/can run) 100.00 %
Function listing time Calls line 242 function count = getCounter 243 % This function increments the variable 'currentCount', when it 244 % gets called (using its function handle). < 0.001 10 245 currentCount = currentCount + 1; < 0.001 10 246 count = currentCount; < 0.001 10 247 end
Other subfunctions in this file are not included in this listing.