webrtc/system_wrappers/source
Paul Hallak 704d6e518a Consolidate the different NTP clocks into one.
WebRTC code has two ways of querying for the NTP time:
- rtc::TimeMillis() + NtpOffsetMs()
- Clock::CurrentNtpTime

`Clock::CurrentNtpTime` is not monotonic and is platform dependent.
This CL changes its implementation return `rtc::TimeMillis() +
NtpOffsetMs()`

More info is available in the attached bug.

Bug: webrtc:11327
Change-Id: I34fe4cc2d321c2b63275c93be21122c9de1ab403
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/213425
Commit-Queue: Paul Hallak <phallak@google.com>
Reviewed-by: Minyue Li <minyue@webrtc.org>
Reviewed-by: Henrik Andreassson <henrika@webrtc.org>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#33655}
2021-04-08 13:54:04 +00:00
..
clock.cc Consolidate the different NTP clocks into one. 2021-04-08 13:54:04 +00:00
clock_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
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 Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00