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

Issue 929443002: Use real time instead of event time to compute trace event overhead (Closed)

Created:
5 years, 10 months ago by Xianzhu
Modified:
5 years, 10 months ago
Reviewers:
dsinclair, nduca
CC:
chromium-reviews, dsinclair+watch_chromium.org, erikwright+watch_chromium.org, wfh+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use real time instead of event time to compute trace event overhead Use real time instead of event time to compute overhead, because event timestamp may be not the real time that we started to add the event (e.g. event with zero timestamp or that was generated some time ago). With this CL the overhead excludes the time between the beginning of the TRACE_EVENT macro and AddTraceEventWithThreadIdAndTimestamp() which should be trivial. BUG=457441 Committed: https://crrev.com/75fa92e381158626c5ffb00bcb2423a868ba81e7 Cr-Commit-Position: refs/heads/master@{#316251}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -4 lines) Patch
M base/trace_event/trace_event_impl.cc View 4 chunks +8 lines, -4 lines 2 comments Download

Messages

Total messages: 11 (2 generated)
Xianzhu
5 years, 10 months ago (2015-02-13 17:07:36 UTC) #2
dsinclair
lgtm
5 years, 10 months ago (2015-02-13 17:44:44 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/929443002/1
5 years, 10 months ago (2015-02-13 17:45:22 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 10 months ago (2015-02-13 19:03:44 UTC) #6
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/75fa92e381158626c5ffb00bcb2423a868ba81e7 Cr-Commit-Position: refs/heads/master@{#316251}
5 years, 10 months ago (2015-02-13 19:04:40 UTC) #7
nduca
https://codereview.chromium.org/929443002/diff/1/base/trace_event/trace_event_impl.cc File base/trace_event/trace_event_impl.cc (right): https://codereview.chromium.org/929443002/diff/1/base/trace_event/trace_event_impl.cc#newcode1916 base/trace_event/trace_event_impl.cc:1916: TimeTicks now = OffsetNow(); is this causing us to ...
5 years, 10 months ago (2015-02-13 19:13:44 UTC) #8
Xianzhu
https://codereview.chromium.org/929443002/diff/1/base/trace_event/trace_event_impl.cc File base/trace_event/trace_event_impl.cc (right): https://codereview.chromium.org/929443002/diff/1/base/trace_event/trace_event_impl.cc#newcode1916 base/trace_event/trace_event_impl.cc:1916: TimeTicks now = OffsetNow(); On 2015/02/13 19:13:44, nduca wrote: ...
5 years, 10 months ago (2015-02-13 19:27:26 UTC) #9
picksi
While perf sheriffing, this CL (along with several others) was reported by the bisect bots ...
5 years, 10 months ago (2015-02-19 12:18:13 UTC) #10
Xianzhu
5 years, 10 months ago (2015-02-23 17:35:17 UTC) #11
Message was sent while issue was closed.
On 2015/02/19 12:18:13, picksi wrote:
> While perf sheriffing, this CL (along with several others) was reported by the
> bisect bots as a possible cause of the regression shown here:
> 
> https://chromeperf.appspot.com/group_report?bug_id=459175
> 
> Please can you take a moment to confirm that this CL is innocent! Thanks.

This CL may affect performance measurement but doesn't affect the product
performance. If it's the cause, I think we can just rebaseline the expectations.

Powered by Google App Engine
This is Rietveld 408576698