Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(383)

Issue 2290203002: Delete Timing class, timing.h, and update all users. (Closed)

Created:
4 years, 3 months ago by nisse-webrtc
Modified:
4 years, 3 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, the sun
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Delete Timing class, timing.h, and update all users. BUG=webrtc:6324 Committed: https://crrev.com/cdf37a929336e2ca1e0bcdd5e858ffc75b2b317e Cr-Commit-Position: refs/heads/master@{#14203}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Use rtc:kNumNanosecsPerSec. #

Patch Set 3 : New helper rtc::WallTimeSeconds. #

Total comments: 7

Patch Set 4 : Delete obsolete test. Fix unit error. #

Total comments: 4

Patch Set 5 : Rename to rtc::TimeUTCMicros, and use it. #

Total comments: 5

Patch Set 6 : Rebase. #

Patch Set 7 : Address nits. #

Total comments: 4

Patch Set 8 : Address hbos' comments. #

Patch Set 9 : Fix copy-paste error in rtpdataengine.cc. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -259 lines) Patch
M webrtc/api/statscollector.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -2 lines 0 comments Download
M webrtc/base/BUILD.gn View 1 2 3 4 5 2 chunks +0 lines, -3 lines 0 comments Download
M webrtc/base/base.gyp View 1 2 3 4 5 1 chunk +0 lines, -2 lines 0 comments Download
M webrtc/base/base_tests.gyp View 1 chunk +0 lines, -1 line 0 comments Download
D webrtc/base/test/faketiming.h View 1 chunk +0 lines, -33 lines 0 comments Download
M webrtc/base/timeutils.h View 1 2 3 4 5 6 7 1 chunk +12 lines, -0 lines 0 comments Download
M webrtc/base/timeutils.cc View 1 2 3 4 2 chunks +18 lines, -0 lines 0 comments Download
D webrtc/base/timing.h View 1 chunk +0 lines, -41 lines 0 comments Download
D webrtc/base/timing.cc View 1 chunk +0 lines, -54 lines 0 comments Download
M webrtc/media/base/rtpdataengine.h View 4 chunks +1 line, -17 lines 0 comments Download
M webrtc/media/base/rtpdataengine.cc View 1 2 3 4 5 6 7 8 5 chunks +5 lines, -11 lines 0 comments Download
M webrtc/media/base/rtpdataengine_unittest.cc View 1 2 3 4 chunks +4 lines, -87 lines 0 comments Download
M webrtc/stats/rtcstatscollector.cc View 1 2 3 4 5 2 chunks +1 line, -3 lines 0 comments Download
M webrtc/stats/rtcstatscollector_unittest.cc View 1 2 3 4 5 2 chunks +2 lines, -5 lines 0 comments Download

Messages

Total messages: 45 (17 generated)
nisse-webrtc
I've noticed yet another timing class, the mostly unused Timing class. I'd like to delete ...
4 years, 3 months ago (2016-08-30 11:29:03 UTC) #2
hbos
Hmh, SendDataMultipleClocks uses two different timers simultaneously. This is not possible with a global singleton ...
4 years, 3 months ago (2016-08-30 12:56:40 UTC) #3
hbos
On 2016/08/30 12:56:40, hbos wrote: > Hmh, SendDataMultipleClocks uses two different timers simultaneously. This is ...
4 years, 3 months ago (2016-08-30 13:00:37 UTC) #4
nisse-webrtc
On 2016/08/30 13:00:37, hbos wrote: > On 2016/08/30 12:56:40, hbos wrote: > > Hmh, SendDataMultipleClocks ...
4 years, 3 months ago (2016-08-30 13:11:32 UTC) #5
nisse-webrtc
Addressed the simplest of the comments. Haven't yet investigated the bot failures, but the look ...
4 years, 3 months ago (2016-08-30 13:20:25 UTC) #6
hbos
On 2016/08/30 13:11:32, nisse-webrtc wrote: > On 2016/08/30 13:00:37, hbos wrote: > > On 2016/08/30 ...
4 years, 3 months ago (2016-08-30 14:04:16 UTC) #7
nisse-webrtc
Peter, do you know the rtpdataengine code? I have two questions: 1. Does the SendDataMultipleClocks ...
4 years, 3 months ago (2016-08-30 14:06:53 UTC) #9
pthatcher1
https://codereview.webrtc.org/2290203002/diff/40001/webrtc/base/timeutils.cc File webrtc/base/timeutils.cc (right): https://codereview.webrtc.org/2290203002/diff/40001/webrtc/base/timeutils.cc#newcode189 webrtc/base/timeutils.cc:189: double WallClockSeconds() { Why don't we call this TimeDouble ...
4 years, 3 months ago (2016-08-31 00:10:17 UTC) #10
nisse-webrtc
https://codereview.webrtc.org/2290203002/diff/40001/webrtc/api/statscollector.cc File webrtc/api/statscollector.cc (right): https://codereview.webrtc.org/2290203002/diff/40001/webrtc/api/statscollector.cc#newcode468 webrtc/api/statscollector.cc:468: double time_now = GetTimeNow(); hbos: This is the only ...
4 years, 3 months ago (2016-08-31 06:34:41 UTC) #11
nisse-webrtc
Hi, I've deleted the obsolete test, and fixed a unit bug in my change to ...
4 years, 3 months ago (2016-08-31 07:11:22 UTC) #16
hbos
On 2016/08/31 07:11:22, nisse-webrtc wrote: > Hi, I've deleted the obsolete test, and fixed a ...
4 years, 3 months ago (2016-08-31 14:42:56 UTC) #17
hbos
https://codereview.webrtc.org/2290203002/diff/60001/webrtc/media/base/rtpdataengine.cc File webrtc/media/base/rtpdataengine.cc (right): https://codereview.webrtc.org/2290203002/diff/60001/webrtc/media/base/rtpdataengine.cc#newcode309 webrtc/media/base/rtpdataengine.cc:309: double now = rtc::TimeMicros() * 1e-6; rtc::TimeMicros() / static_cast<double>(kNumMicrosecsPerSec) ...
4 years, 3 months ago (2016-08-31 14:43:13 UTC) #18
pthatcher1
I think Taylor would be a good reviewer for this, since he did a lot ...
4 years, 3 months ago (2016-08-31 18:19:46 UTC) #20
nisse-webrtc
This isn't urgent, so let's wait for Taylor's feedback. https://codereview.webrtc.org/2290203002/diff/40001/webrtc/api/statscollector.cc File webrtc/api/statscollector.cc (right): https://codereview.webrtc.org/2290203002/diff/40001/webrtc/api/statscollector.cc#newcode468 webrtc/api/statscollector.cc:468: ...
4 years, 3 months ago (2016-09-01 09:05:37 UTC) #21
nisse-webrtc
On 2016/09/01 09:05:37, nisse-webrtc wrote: > Ultimately, I think these stats are exposed in the ...
4 years, 3 months ago (2016-09-06 11:26:35 UTC) #22
Taylor Brandstetter
lgtm https://codereview.webrtc.org/2290203002/diff/80001/webrtc/api/statscollector.cc File webrtc/api/statscollector.cc (right): https://codereview.webrtc.org/2290203002/diff/80001/webrtc/api/statscollector.cc#newcode472 webrtc/api/statscollector.cc:472: LOG(LS_INFO) << "UpdateStats: time_now: " << time_now; nit: ...
4 years, 3 months ago (2016-09-07 18:39:17 UTC) #23
perkj_webrtc
lgtm % comment below https://codereview.webrtc.org/2290203002/diff/80001/webrtc/media/base/rtpdataengine.cc File webrtc/media/base/rtpdataengine.cc (right): https://codereview.webrtc.org/2290203002/diff/80001/webrtc/media/base/rtpdataengine.cc#newcode309 webrtc/media/base/rtpdataengine.cc:309: double now = rtc::TimeMicros() * ...
4 years, 3 months ago (2016-09-08 06:07:03 UTC) #24
nisse-webrtc
Rebased, and nits addressed. I've noticed that there seems to be a couple of uses ...
4 years, 3 months ago (2016-09-08 07:38:09 UTC) #26
hbos
lgtm https://codereview.webrtc.org/2290203002/diff/120001/webrtc/api/statscollector.cc File webrtc/api/statscollector.cc (right): https://codereview.webrtc.org/2290203002/diff/120001/webrtc/api/statscollector.cc#newcode472 webrtc/api/statscollector.cc:472: LOG(LS_INFO) << "UpdateStats: time_now = " << time_now; ...
4 years, 3 months ago (2016-09-08 07:50:43 UTC) #27
nisse-webrtc
https://codereview.webrtc.org/2290203002/diff/120001/webrtc/api/statscollector.cc File webrtc/api/statscollector.cc (right): https://codereview.webrtc.org/2290203002/diff/120001/webrtc/api/statscollector.cc#newcode472 webrtc/api/statscollector.cc:472: LOG(LS_INFO) << "UpdateStats: time_now = " << time_now; On ...
4 years, 3 months ago (2016-09-08 09:07:14 UTC) #28
pthatcher1
lgtm
4 years, 3 months ago (2016-09-09 02:24:39 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2290203002/140001
4 years, 3 months ago (2016-09-13 08:01:28 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: linux_ubsan_vptr on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_ubsan_vptr/builds/5443) win_dbg on master.tryserver.webrtc (JOB_FAILED, ...
4 years, 3 months ago (2016-09-13 08:11:23 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2290203002/160001
4 years, 3 months ago (2016-09-13 11:02:41 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on master.tryserver.webrtc (JOB_TIMED_OUT, no build URL) android_dbg on ...
4 years, 3 months ago (2016-09-13 13:03:22 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2290203002/160001
4 years, 3 months ago (2016-09-14 06:33:52 UTC) #41
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 3 months ago (2016-09-14 06:41:56 UTC) #43
commit-bot: I haz the power
4 years, 3 months ago (2016-09-14 06:42:00 UTC) #45
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/cdf37a929336e2ca1e0bcdd5e858ffc75b2b317e
Cr-Commit-Position: refs/heads/master@{#14203}

Powered by Google App Engine
This is Rietveld 408576698