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

Side by Side Diff: Source/platform/heap/Profiling.h

Issue 383743002: Oilpan: GC profiling. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: TracedValue contexts Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef Profiling_h
6 #define Profiling_h
7
8 // Name for about:tracing events
9 #define GC_PROFILE_GROUP "BlinkGC"
haraken 2014/07/14 02:26:14 "BlinkGC" => "blinkGC" (due to a convention of tra
zerny-chromium 2014/07/28 11:54:41 Done, but kept the macro so we avoid search-replac
10
11 // Extended profiling of memory usage.
12 #define GC_PROFILE_HEAP ENABLE(GC_PROFILING_HEAP)
haraken 2014/07/14 02:26:14 Blink normally doesn't use this kind of re-define.
zerny-chromium 2014/07/28 11:54:41 I can do that. The reasoning for having the two di
haraken 2014/07/28 17:45:47 If the split does really matter, I'm OK with intro
13 #define GC_PROFILE_HEAP_PAGE_DUMP_THRESHOLD 0
14
15 // Extended profiling of GC marking/tracing
16 #define GC_PROFILE_MARKING ENABLE(GC_PROFILING_MARKING)
haraken 2014/07/14 02:26:14 Ditto.
17
18 // Dependencies for several profiling usages.
19 #define GC_PROFILE_DEFINE_CLASSNAME (GC_PROFILE_HEAP || GC_PROFILE_MARKING)
20
21 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698