42 for(std::map<std::string,SoftwarePLL*>::iterator iter =
_instances.begin(); iter !=
_instances.end(); )
44 if(iter->second ==
this)
75 tempTick = tick-(uint32_t)(0xFFFFFFFF &
FirstTick());
86 double start = sec + nanoSec * 1E-9;
107 bool timeStampVerified =
false;
110 timeStampVerified =
true;
116 if (timeStampVerified ==
false)
147 sec = (uint32_t)corrTime;
148 double frac = corrTime - sec;
149 nanoSec = (uint32_t)(1E9 * frac);
155 double dTAbs = fabs(relTimeStamp1 - relTimeStamp2);
173 std::vector<uint64_t> tickFifoUnwrap;
174 std::vector<double> clockFifoUnwrap;
177 uint64_t tickOffset = 0;
178 clockFifoUnwrap[0] = 0.00;
179 tickFifoUnwrap[0] = 0;
183 uint64_t tickDivisor = 0x100000000;
191 tickOffset += tickDivisor;
203 sum_xy += tickFifoUnwrap[i] * clockFifoUnwrap[i];
204 sum_x += tickFifoUnwrap[i];
205 sum_y += clockFifoUnwrap[i];
206 sum_xx += tickFifoUnwrap[i] * tickFifoUnwrap[i];
215 double yesti = m * tickFifoUnwrap[i];