This is a static copy of a profile report

Home

Function details for ftypeThis is a static copy of a profile report

Home

ftype (Calls: 5, Time: 0.002 s)
Generated 19-Jun-2021 04:39:09 using performance time.
function in file /nfs/inm_phd/07/d07944009/2021/0618-proj6/simpleNN/MATLAB/cnn/ftype.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
check_datafunction1
train>init_modelsubfunction4
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
4
if float_type == 'single'
50.002 s78.1%
3
global float_type
50.000 s11.6%
6
end
50.000 s2.7%
All other lines  0.000 s7.7%
Totals  0.002 s100% 
Children (called functions)
No children
Code Analyzer results
Line numberMessage
4Unexpected use of 'single' in a scalar context.
Coverage results
Show coverage for parent directory
Total lines in function6
Non-code lines (comments, blank lines)2
Code lines (lines that can run)4
Code lines that did run3
Code lines that did not run1
Coverage (did run/can run)75.00 %
Function listing
time 
Calls 
 line
   1 
function M = ftype(M)
   2 

< 0.001 
      5 
   3
global float_type 
  0.002 
      5 
   4
if float_type == 'single' 
   5 
	M = single(M);
< 0.001 
      5 
   6
end 

Other subfunctions in this file are not included in this listing.