This is a static copy of a profile report

Home

get_mod_transfer_inv (1 call, 18.969 sec)
Generated 15-Mar-2007 12:01:42 using real time.
M-function in file c:\mind07\get_mod_transfer_inv.m
[Copy to new window for comparing multiple runs]

Parents (calling functions)

Function NameFunction TypeCalls
prepare_systemM-function1
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
7
if ismember(mod,mod_transfer{k...
31882817.172 s90.5%
6
for j=1:3
1062760.875 s4.6%
11
end
3188280.313 s1.6%
9
else
3182600.297 s1.6%
10
end
3182600.234 s1.2%
Other lines & overhead  0.078 s0.4%
Totals  18.969 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
ismemberM-function31882812.469 s65.7%
Self time (built-ins, overhead, etc.)  6.500 s34.3%
Totals  18.969 s100% 
M-Lint results
Line numberMessage
3Terminate statement with semicolon to suppress output.
7IF may not be aligned with its matching END (line 10).
Coverage results
[ Show coverage for parent directory ]
Total lines in file13
Non-code lines (comments, blank lines)2
Code lines (lines that can run)11
Code lines that did run11
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
   time   calls  line
1 function mod_transfer_inv=get_mod_transfer_inv(mod_transfer)
2 %computs inverse of "mod_transfer"
1 3 n_mods=length(mod_transfer);mod_transfer_inv=cell(1,n_mods);n_mods
1 4 for mod=1:n_mods
326 5 for k=1:n_mods
0.88 106276 6 for j=1:3
17.17 318828 7 if ismember(mod,mod_transfer{k,j})
568 8 mod_transfer_inv{mod}=[ mod_transfer_inv{mod},k];
0.30 318260 9 else
0.23 318260 10 end
0.31 318828 11 end
0.08 106276 12 end
326 13 end