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

Issue 2334753002: [Clock sync] Use clock sync manager to convert trace event timestamps (Closed)

Created:
4 years, 3 months ago by nednguyen
Modified:
4 years, 3 months ago
CC:
catapult-reviews_chromium.org, tracing-review_chromium.org
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

[Clock sync] Use clock sync manager to convert trace event timestamps This is usually a no-op because we always try to use the Chrome clock domain as the model clock domain. However, without actually getting a model time transformer for the trace event importer, we never verify that all of the clock domains are connected. To make telemetry's integration test of tracing on reference Chrome binary passing, this CL also fixes how trace importers handle clock sync events based on telemetry's workaround of using console.time & console.timeEnd for record clock sync on old chrome binary (see https://github.com/catapult-project/catapult/blob/cb0d9d7c3b28514bb03d9cc1f1e7bc5cd441bd56/telemetry/telemetry/internal/platform/tracing_agent/chrome_tracing_agent.py#L153) This is based on charliea@'s original work in https://codereview.chromium.org/2203033002/ BUG=catapult:#2547 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/260117fe0d2e76f878268a4c84e23ba0332e1329

Patch Set 1 #

Patch Set 2 : Fix test #

Patch Set 3 : Remove extra logs #

Patch Set 4 : Fix clock sync for old browser #

Patch Set 5 : Improve documentations #

Total comments: 2

Patch Set 6 : Address Nat's comments #

Patch Set 7 : Fix typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -52 lines) Patch
M tracing/tracing/extras/importer/trace_event_importer.html View 1 2 3 4 5 6 33 chunks +134 lines, -50 lines 0 comments Download
M tracing/tracing/extras/importer/trace_event_importer_test.html View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 32 (24 generated)
nednguyen
4 years, 3 months ago (2016-09-12 15:49:52 UTC) #8
nednguyen
On 2016/09/12 15:49:52, nednguyen wrote: PTAL: this is ready for review.
4 years, 3 months ago (2016-09-12 18:55:04 UTC) #12
nednguyen
On 2016/09/12 18:55:04, nednguyen wrote: > On 2016/09/12 15:49:52, nednguyen wrote: > > PTAL: this ...
4 years, 3 months ago (2016-09-12 21:42:45 UTC) #20
nednguyen
+Fadi, Nat since I would want this patch lands soon to unblock https://codereview.chromium.org/2301523007/
4 years, 3 months ago (2016-09-12 21:53:27 UTC) #23
nduca
lgtm with nit https://codereview.chromium.org/2334753002/diff/80001/tracing/tracing/extras/importer/trace_event_importer.html File tracing/tracing/extras/importer/trace_event_importer.html (right): https://codereview.chromium.org/2334753002/diff/80001/tracing/tracing/extras/importer/trace_event_importer.html#newcode894 tracing/tracing/extras/importer/trace_event_importer.html:894: // Older version of Chrome doesn't ...
4 years, 3 months ago (2016-09-12 21:57:39 UTC) #26
nednguyen
https://codereview.chromium.org/2334753002/diff/80001/tracing/tracing/extras/importer/trace_event_importer.html File tracing/tracing/extras/importer/trace_event_importer.html (right): https://codereview.chromium.org/2334753002/diff/80001/tracing/tracing/extras/importer/trace_event_importer.html#newcode894 tracing/tracing/extras/importer/trace_event_importer.html:894: // Older version of Chrome doesn't support clock sync ...
4 years, 3 months ago (2016-09-12 22:43:24 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2334753002/120001
4 years, 3 months ago (2016-09-12 22:47:19 UTC) #30
commit-bot: I haz the power
4 years, 3 months ago (2016-09-12 23:08:52 UTC) #32
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698