This is a static copy of a profile report

Home

cmxWrite_cpu (Calls: 3, Time: 0.027 sec)
Generated 28-May-2016 14:58:48 using performance time.
function in file /home/johs/work/clustering/src/cmxWrite_cpu.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
AMoG_cpufunction3
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
2
filename = [basename, cmxCreat...
30.024 s88.8%
3
fp = fopen(filename, 'w');
30.001 s3.7%
5
fclose(fp);
30.001 s2.8%
4
fwrite(fp, A, type);
30.000 s1.5%
6
end
30.000 s0.0%
All other lines  0.001 s3.2%
Totals  0.027 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
cmxCreate_cpufunction30.021 s77.5%
Self time (built-ins, overhead, etc.)  0.006 s22.5%
Totals  0.027 s100% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function6
Non-code lines (comments, blank lines)1
Code lines (lines that can run)5
Code lines that did run5
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
time 
Calls 
 line
   1 
function [] = cmxWrite_cpu(basename, A, type)
  0.02 
      3 
   2 
    filename = [basename, cmxCreate_cpu(type, size(A))]; 
< 0.01 
      3 
   3 
    fp = fopen(filename, 'w'); 
< 0.01 
      3 
   4 
    fwrite(fp, A, type); 
< 0.01 
      3 
   5 
    fclose(fp); 
< 0.01 
      3 
   6 
end