This is a static copy of a profile report

Home

get_levels (3 calls, 0.063 sec)
Generated 15-Mar-2007 12:01:44 using real time.
M-function in file c:\mind07\get_levels.m
[Copy to new window for comparing multiple runs]

Parents (calling functions)

Function NameFunction TypeCalls
build_thoughtM-function1
legacyM-function1
build_thought_2M-function1
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
7
L1=[L1,g];
27920.031 s50.0%
6
if l==1
33860.031 s50.0%
16
end
33860 s0%
14
end
600 s0%
13
L4=[L4,g];
600 s0%
Other lines & overhead  0 s0%
Totals  0.063 s100% 
Children (called functions)
No children
M-Lint results
Line numberMessage
1Extra semicolon is unnecessary.
Coverage results
[ Show coverage for parent directory ]
Total lines in file17
Non-code lines (comments, blank lines)4
Code lines (lines that can run)13
Code lines that did run13
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
   time   calls  line
1 function [L1,L2,L3,L4]=get_levels(G);
2 %computes G-sets for level=1,1...
3 3 r=length(G);L1=[];L2=[];L3=[];L4=[];
3 4 for g=1:r
3386 5 l=G(g).level;
0.03 3386 6 if l==1
0.03 2792 7 L1=[L1,g];
594 8 elseif l==2
480 9 L2=[L2,g];
114 10 elseif l==3
48 11 L3=[L3,g];
66 12 elseif l==4
60 13 L4=[L4,g];
60 14 end
15
3386 16 end
17