This is a static copy of a profile reportHome
fillRegisters (1 call, 0.000 sec)
Generated 05-Aug-2011 13:01:32 using cpu time.
function in file /home/LeechJ/cbass_analysis/reduc/fillRegisters.m
Copy to new window for comparing multiple runs
Parents (calling functions)
Lines where the most time was spent
No measurable time spent in this function| Line Number | Code | Calls | Total Time | % Time | Time Plot |
| 33 | return; | 1 | 0 s | 0% |  |
| 17 | d.antenna0.servo.dec = zeros(s... | 1 | 0 s | 0% |  |
| 16 | d.antenna0.servo.ra = zeros(si... | 1 | 0 s | 0% |  |
| 13 | numFrames = size(d.antenna0.re... | 1 | 0 s | 0% |  |
| All other lines | | | 0 s | 0% |  |
| Totals | | | 0 s | 0% | |
Children (called functions)
No childrenCode Analyzer results
| Line number | Message |
| 13 | The value assigned to variable 'numFrames' might be unused. |
Coverage results
[ Show coverage for parent directory ]
| Total lines in function | 33 |
| Non-code lines (comments, blank lines) | 29 |
| 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 d = fillRegisters(d)
2
3 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4 %
5 % function d = fillRegisters(d)
6 %
7 % function simply fills in registers that don't exist yet.
8 %
9 %
10 %
11 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
12
1 13 numFrames = size(d.antenna0.receiver.data,1);
14
15 % servo registers
1 16 d.antenna0.servo.ra = zeros(size(d.antenna0.servo.az));
1 17 d.antenna0.servo.dec = zeros(size(d.antenna0.servo.el));
18
19 % correction registers
20 %d.correction.r_factor.params = zeros(1,5);
21 %d.correction.r_factor.values = zeros(numFrames, 6, 5);
22 %d.correction.tau.value = zeros(1,1);
23 %d.correction.tau.time = zeros(1,1);
24 %d.correction.tau.interp = zeros(numFrames,1);
25 %d.correction.load.value = zeros(1,1);
26 %d.correction.load.time = zeros(1,1);
27 %d.correction.load.interp = zeros(numFrames,1);
28 %d.correction.noise.value = zeros(1,1);
29 %d.correction.noise.time = zeros(1,1);
30 %d.correction.noise.interp = zeros(numFrames,1);
31 %d.correction.absolute.value = zeros(1,6);
32
1 33 return;
Other subfunctions in this file are not included in this listing.