OLD | NEW |
---|---|
(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 | |
OLD | NEW |