This is a static copy of a profile reportHome
prepare_system (1 call, 21.156 sec)
Generated 15-Mar-2007 12:01:41 using real time.
M-function in file c:\mind07\prepare_system.m
[Copy to new window for comparing multiple runs]
Parents (calling functions)
Function Name | Function Type | Calls |
legacy | M-function | 1 |
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
8 | mod_transfer_inv=get_mod_trans... | 1 | 18.984 s | 89.7% |  |
9 | save c:\mind_data06 | 1 | 0.859 s | 4.1% |  |
3 | load c:\mind_data06 | 1 | 0.609 s | 2.9% |  |
7 | gs_in_mod=get_gs_in_mod; | 1 | 0.531 s | 2.5% |  |
6 | g_mod=get_mod_for_g; | 1 | 0.156 s | 0.7% |  |
Other lines & overhead | | | 0.016 s | 0.1% |  |
Totals | | | 21.156 s | 100% | |
Children (called functions)
Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
get_mod_transfer_inv | M-function | 1 | 18.969 s | 89.7% |  |
get_gs_in_mod | M-function | 1 | 0.531 s | 2.5% |  |
get_mod_for_g | M-function | 1 | 0.156 s | 0.7% |  |
Self time (built-ins, overhead, etc.) | | | 1.500 s | 7.1% |  |
Totals | | | 21.156 s | 100% | |
M-Lint results
Line number | Message |
5 | The value assigned here to variable 'Q' might never be used. |
5 | The value assigned here to variable 'A' might never be used. |
6 | The value assigned here to variable 'g_mod' might never be used. |
7 | The value assigned here to variable 'gs_in_mod' might never be used. |
8 | The value assigned here to variable 'mod_transfer_inv' might never be used. |
Coverage results
[ Show coverage for parent directory ]
Total lines in file | 9 |
Non-code lines (comments, blank lines) | 2 |
Code lines (lines that can run) | 7 |
Code lines that did run | 7 |
Code lines that did not run | 0 |
Coverage (did run/can run) | 100.00 % |
Function listing
time calls line
1 function prepare_system
2 %prepares "mind"
0.61 1 3 load c:\mind_data06
1 4 r=size(G);r=r(2);
0.02 1 5 Q=ones(1,r);A=ones(r);
0.16 1 6 g_mod=get_mod_for_g;
0.53 1 7 gs_in_mod=get_gs_in_mod;
18.98 1 8 mod_transfer_inv=get_mod_transfer_inv(mod_transfer);
0.86 1 9 save c:\mind_data06