This is a static copy of a profile reportHome
Function details for get_B>orbit2BThis is a static copy of a profile reportHome
get_B>orbit2B (Calls: 2, Time: 9.519 s)
Generated 20-Jul-2018 02:24:59 using performance time.
subfunction in file C:\Users\yz\Dropbox\Workspace\Researches\PhD Research\My Papers\2018_symmtry_reduction\18groupsymmetrySDPSlaterHaoRenata.d\codesgroupsymmetrySDPSlaterHaoRenata.d\qap\sub-routines\get_B.m
Copy to new window for comparing multiple runs
This function changed during profiling or before generation of this report. Results may be incomplete or inaccurate.
Parents (calling functions)
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
101 | B = cell(nr_B,1); | 7540 | 9.433 s | 99.1% | |
96 | function B = orbit2B(orbit) | 2 | 0.072 s | 0.8% | |
102 | for i = 1:nr_B | 7540 | 0.005 s | 0.1% | |
106 | | 2 | 0.005 s | 0.1% | |
100 | nr_B = length(idx); | 7540 | 0.003 s | 0.0% | |
All other lines | | | 0.001 s | 0.0% | |
Totals | | | 9.519 s | 100% | |
Children (called functions)
Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
unique | function | 2 | 0.071 s | 0.8% | |
Self time (built-ins, overhead, etc.) | | | 9.448 s | 99.2% | |
Totals | | | 9.519 s | 100% | |
Code Analyzer results
No Code Analyzer messages.Coverage results
Show coverage for parent directory
Total lines in function | 14 |
Non-code lines (comments, blank lines) | 6 |
Code lines (lines that can run) | 8 |
Code lines that did run | 8 |
Code lines that did not run | 4 |
Coverage (did run/can run) | 100.00 % |
Function listing
time | Calls | line |
---|
0.072 | 2 | 96 | function B = orbit2B(orbit)
|
| 2 | 97 |
|
< 0.001 | 2 | 98 | % decompress orbit into basis
|
< 0.001 | 2 | 99 | idx = unique(orbit(:));
|
0.003 | 7540 | 100 | nr_B = length(idx);
|
9.433 | 7540 | 101 | B = cell(nr_B,1);
|
0.005 | 7540 | 102 | for i = 1:nr_B
|
| | 103 | k = idx(i);
|
| | 104 | B{i} = (orbit == k);
|
| | 105 | end
|
0.005 | 2 | 106 |
|
| | 107 |
|
| | 108 |
|
| | 109 | end
|