summaryrefslogtreecommitdiffstats
path: root/services/common_time
Commit message (Collapse)AuthorAgeFilesLines
* New clock sync control loop.Kent Ryhorchuk2012-02-177-205/+151
| | | | | | | | | Change clock sync control to velicity form PI loop. Tuned for office LAN and WiFi conditions, will probably perform better in clean environments. Improve packet filtering to prevent clock sync on bad rtt. Changed diag interface to take rtt times, P, I, D are no longer supported. Change-Id: Iad2b26eb44cd222ec5f219b49669e2d6baec9d1c
* Really fix the build this time.John Grossman2012-02-161-1/+0
| | | | | | | Cannot try to include <limits> on git_master-without-vendor. The file just does not exist. Change-Id: Iae383465c59d1cf59a9ba3f729f8f074971f7ce4
* Fix the build.John Grossman2012-02-161-3/+3
| | | | | | | | | Looks like not all flavors of the android build include support for std::numeric_limits. Fix the build by using a simple macro for now. A more elegant solution can be searched for once the build is green again. Change-Id: I18329cd0d26ca69de6a52df9a1c6eeb3ba063b48
* Upintegrate the common_time service from ics-aah.Mike J. Chen2012-02-1617-0/+4242
Move the common_time service developed in the ics-aah branch back into master. The common_time service is a small service build to synchronize an arbitrary timeline amongst peers on a local sub-net. While running and configured, the service will elect a master from the set of available devices within the subnet, define a relationship between the common_time timeline the local time timeline (provided by the local time HAL), and then attempt to maintain synchronization between common and local time by controlling the frequency of the local time clock via the HAL, or by disciplining local time in the digital domain if the local time HAL implementation does not support HW slewing. On its own, the native common time service will do nothing until it is configured. The CommonTimeManagementService (running out of the system server process) is responsible for implementing policy regarding configuration and operation of the common_time service and will be added in a subsequent CL. Change-Id: I71292f9b9b1797665865689c4572c9d3a0552f64 Signed-off-by: John Grossman <johngro@google.com>