webrtc/system_wrappers
Paul Hallak b59e9045bf Add the ability to convert a timestamp to NTP time.
The timestamps returned by the clocks do not have an epoch. Each clock
should be able to convert a timestamp it returns to an NTP time.
The default implementation for querying for an NTP time is converting
the current timestamp.

This is favored over returning the offset between the relative and the
NTP time because there is a field trial that makes the real clock revert
to using system dependent methods for getting the NTP time.

Bug: webrtc:11327
Change-Id: Ia139b2744b407cae94420bf9112212ec577efb16
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/219687
Reviewed-by: Minyue Li <minyue@webrtc.org>
Reviewed-by: Niels Moller <nisse@webrtc.org>
Commit-Queue: Paul Hallak <phallak@google.com>
Cr-Commit-Position: refs/heads/master@{#34071}
2021-05-21 04:34:11 +00:00
..
include Add the ability to convert a timestamp to NTP time. 2021-05-21 04:34:11 +00:00
source Add the ability to convert a timestamp to NTP time. 2021-05-21 04:34:11 +00:00
BUILD.gn Remove from chromium build targets that are not compatible with it. 2021-02-01 13:46:19 +00:00
DEPS Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
OWNERS Remove wildcard ownership for build files. 2020-02-19 14:05:46 +00:00