webrtc/system_wrappers/source
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
..
clock.cc Add the ability to convert a timestamp to NTP time. 2021-05-21 04:34:11 +00:00
clock_unittest.cc
cpu_features.cc Reland "Activating AVX2 support by default" 2020-10-03 22:37:13 +00:00
cpu_features_android.cc Refactor cpu_features_wrapper.h functions from C to C++. 2020-09-07 08:44:24 +00:00
cpu_features_linux.cc Refactor cpu_features_wrapper.h functions from C to C++. 2020-09-07 08:44:24 +00:00
cpu_info.cc Ensure CpuInfo::DetectNumberOfCores is > 0 and thread safe. 2019-05-24 12:59:14 +00:00
field_trial.cc Expose methods to validate and merge FieldTrial strings. 2019-12-06 11:15:49 +00:00
field_trial_unittest.cc Rename more death test to *DeathTest 2020-05-26 20:27:34 +00:00
metrics.cc Migrate rtc_tools/, sdk/, and system_wrappers/ to webrtc::Mutex. 2020-07-10 08:02:05 +00:00
metrics_default_unittest.cc Add directive to make webrtc metrics optional. 2019-12-09 13:55:50 +00:00
metrics_unittest.cc Rename more death test to *DeathTest 2020-05-26 20:27:34 +00:00
ntp_time_unittest.cc Remove Clock::NtpToMs. 2021-04-08 10:37:20 +00:00
rtp_to_ntp_estimator.cc Format almost everything. 2019-07-08 13:45:15 +00:00
rtp_to_ntp_estimator_unittest.cc Fix -Wextra-semi warnings. 2019-02-25 09:22:51 +00:00
sleep.cc