This is a static copy of a profile reportHome
set_gs_in_mods (31 calls, 0.047 sec)
Generated 15-Mar-2007 12:01:44 using real time.
M-function in file c:\mind07\set_gs_in_mods.m
[Copy to new window for comparing multiple runs]
Parents (calling functions)
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
5 | gs=[gs,gs_in_mod{mods(t)}]; | 3228 | 0.047 s | 99.8% |  |
3 | n_mods=length(mods);gs=[]; | 31 | 0.000 s | 0.2% |  |
6 | end | 3228 | 0 s | 0% |  |
4 | for t=1:n_mods | 31 | 0 s | 0% |  |
Other lines & overhead | | | 0 s | 0% |  |
Totals | | | 0.047 s | 100% | |
Children (called functions)
No childrenM-Lint results
No M-Lint messages.Coverage results
[ Show coverage for parent directory ]
Total lines in file | 6 |
Non-code lines (comments, blank lines) | 2 |
Code lines (lines that can run) | 4 |
Code lines that did run | 4 |
Code lines that did not run | 0 |
Coverage (did run/can run) | 100.00 % |
Function listing
time calls line
1 function gs=set_gs_in_mods(mods,gs_in_mod)
2 %computes vector of generators belonging to the modalities in vector "mods"
< 0.01 31 3 n_mods=length(mods);gs=[];
31 4 for t=1:n_mods
0.05 3228 5 gs=[gs,gs_in_mod{mods(t)}];
3228 6 end