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

Issue 1640223002: profiler: cleanup unused alternate_timer code (Closed)

Created:
4 years, 11 months ago by Primiano Tucci (use gerrit)
Modified:
4 years, 10 months ago
CC:
chromium-reviews, tfarina, asvitkine+watch_chromium.org, vmpstr+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

profiler: cleanup unused alternate_timer code crrev.com/1632253002 removed the only client of alternate_timer.h This CL removes the unreachable paths in the profiler code which were there just to support alternate_timer (concretelly TCMALLOC). BUG=564618 Committed: https://crrev.com/bc5681f5a8d1db9c8a9d654531e1008b6065dbdd Cr-Commit-Position: refs/heads/master@{#373286}

Patch Set 1 #

Total comments: 8

Patch Set 2 : more cleanup #

Patch Set 3 : Rebase + move NowFunction to private #

Total comments: 1

Patch Set 4 : doc #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -143 lines) Patch
M base/BUILD.gn View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M base/base.gypi View 1 chunk +0 lines, -2 lines 0 comments Download
D base/profiler/alternate_timer.h View 1 chunk +0 lines, -36 lines 0 comments Download
D base/profiler/alternate_timer.cc View 1 chunk +0 lines, -32 lines 0 comments Download
M base/tracked_objects.h View 1 2 3 4 chunks +4 lines, -13 lines 0 comments Download
M base/tracked_objects.cc View 1 7 chunks +3 lines, -46 lines 0 comments Download
M base/tracked_objects_unittest.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M components/metrics/profiler/profiler_metrics_provider.cc View 2 chunks +0 lines, -9 lines 0 comments Download
M tools/gn/bootstrap/bootstrap.py View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 28 (12 generated)
Primiano Tucci (use gerrit)
Small cleanup, PTAL
4 years, 11 months ago (2016-01-27 13:01:54 UTC) #2
Anand Mistry (off Chromium)
On 2016/01/27 13:01:54, Primiano Tucci wrote: > Small cleanup, PTAL I don't have any stake ...
4 years, 11 months ago (2016-01-27 14:29:45 UTC) #3
Primiano Tucci (use gerrit)
On 2016/01/27 14:29:45, Anand Mistry wrote: > On 2016/01/27 13:01:54, Primiano Tucci wrote: > > ...
4 years, 11 months ago (2016-01-27 14:35:36 UTC) #5
vadimt
On 2016/01/27 14:35:36, Primiano Tucci wrote: > On 2016/01/27 14:29:45, Anand Mistry wrote: > > ...
4 years, 11 months ago (2016-01-27 15:48:47 UTC) #6
Ilya Sherman
(cc'ing jar@ as fyi) Thanks for the cleanup! I think there's an opportunity to remove ...
4 years, 11 months ago (2016-01-28 01:36:47 UTC) #10
Primiano Tucci (use gerrit)
Thanks. Removing more code https://codereview.chromium.org/1640223002/diff/1/base/tracked_objects.cc File base/tracked_objects.cc (right): https://codereview.chromium.org/1640223002/diff/1/base/tracked_objects.cc#newcode46 base/tracked_objects.cc:46: static const bool kAllowAlternateTimeSourceHandling = ...
4 years, 10 months ago (2016-01-28 10:46:36 UTC) #11
Ilya Sherman
https://codereview.chromium.org/1640223002/diff/1/base/tracked_objects.h File base/tracked_objects.h (right): https://codereview.chromium.org/1640223002/diff/1/base/tracked_objects.h#newcode448 base/tracked_objects.h:448: typedef unsigned int NowFunction(); // Type for an alternate ...
4 years, 10 months ago (2016-01-29 01:23:14 UTC) #12
Primiano Tucci (use gerrit)
https://codereview.chromium.org/1640223002/diff/1/base/tracked_objects.h File base/tracked_objects.h (right): https://codereview.chromium.org/1640223002/diff/1/base/tracked_objects.h#newcode448 base/tracked_objects.h:448: typedef unsigned int NowFunction(); // Type for an alternate ...
4 years, 10 months ago (2016-02-01 13:34:19 UTC) #13
Ilya Sherman
LGTM. Thanks for the cleanup =) https://codereview.chromium.org/1640223002/diff/40001/base/tracked_objects.h File base/tracked_objects.h (right): https://codereview.chromium.org/1640223002/diff/40001/base/tracked_objects.h#newcode555 base/tracked_objects.h:555: typedef unsigned int ...
4 years, 10 months ago (2016-02-01 19:24:52 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1640223002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1640223002/60001
4 years, 10 months ago (2016-02-02 09:40:12 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/141552)
4 years, 10 months ago (2016-02-02 09:49:42 UTC) #19
Primiano Tucci (use gerrit)
+thakis as base OWNER (TL;DR -131 lines from base/)
4 years, 10 months ago (2016-02-03 10:42:15 UTC) #21
Nico
lgtm
4 years, 10 months ago (2016-02-03 17:05:35 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1640223002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1640223002/60001
4 years, 10 months ago (2016-02-03 17:12:16 UTC) #24
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 10 months ago (2016-02-03 18:53:21 UTC) #26
commit-bot: I haz the power
4 years, 10 months ago (2016-02-03 18:54:42 UTC) #28
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/bc5681f5a8d1db9c8a9d654531e1008b6065dbdd
Cr-Commit-Position: refs/heads/master@{#373286}

Powered by Google App Engine
This is Rietveld 408576698