89e058e36a694f9b42e0808ff40bdb15942eebc1
Change the definition of the panic threshold for the time sync service to take the round trip time of the packet producing the discipline action into account. The idea here is that, in the worst case, the error in the measurement of the clock sync error might be as high as the round trip time of the packet used to measure the error. If a packet says we are 50mSec fast, its RTT is 75mSec, then we could be anywhere from 25mSec slow to 125mSec fast. This change basically makes it so that the error measurement must be greater than the RTT + the fixed panic threshold before we panic. IOW we don't panic unless we absolutely sure that our error must be greater than the fixed panic threshold. Also, lower the current value of the panic threshold from 50mSec down to 20. Now that the definition takes into account the RTT, we can afford to be much tighter in our definition of the fixed panic threshold. Change-Id: Id801f6b59545ee52d59944dfa3d545d108f88b0e
am
6c60e9a3: docs cherrypick from hc-mr2: Change-Id: Id8dd0a0baa2fcc88bcfc8171e2be5882d0f06479 Doc update: publishing topics Also fixes bug 5279672
Description
No description provided
Languages
Java
73.7%
Kotlin
14%
PowerBuilder
5.8%
C++
5.2%
AIDL
1%