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

Issue 8579001: Implement TRACE_COUNTER (Closed)

Created:
9 years, 1 month ago by nduca
Modified:
9 years, 1 month ago
CC:
chromium-reviews, Paweł Hajdan Jr., brettw-cc_chromium.org
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+119 lines, -2 lines) Patch
M base/debug/trace_event.h View 6 chunks +70 lines, -2 lines 2 comments Download
M base/debug/trace_event.cc View 3 chunks +18 lines, -0 lines 0 comments Download
M base/debug/trace_event_unittest.cc View 2 chunks +31 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
nduca
9 years, 1 month ago (2011-11-16 13:02:55 UTC) #1
jbates
lgtm http://codereview.chromium.org/8579001/diff/1/base/debug/trace_event.h File base/debug/trace_event.h (right): http://codereview.chromium.org/8579001/diff/1/base/debug/trace_event.h#newcode44 base/debug/trace_event.h:44: // Sometimes, you want to track two counters ...
9 years, 1 month ago (2011-11-16 19:16:17 UTC) #2
jar (doing other things)
LGTM (with tiny typo nit) ...although I'm wondering if some of the macros could be ...
9 years, 1 month ago (2011-11-16 20:18:41 UTC) #3
nduca
9 years, 1 month ago (2011-11-18 07:50:13 UTC) #4
On 2011/11/16 20:18:41, jar wrote:
> ...although I'm wondering if some of the macros could be refactored to have
> fewer of them.
> 
> This is the first time I've looked much at this code, so it may not be an
> issue... it was a lot to read.  I couldn't find any use of StringWithCopy() in
> the codebase, and wasn't sure how/when it was applicable as well.

Yeah a great point. You, jbates and I should sit down sometime and go over the
issues.

The copy stuff is used in the downstream branch that shall not be named. :)

Powered by Google App Engine
This is Rietveld 408576698