| OLD | NEW | 
|    1 // Copyright 2012 the V8 project authors. All rights reserved. |    1 // Copyright 2012 the V8 project authors. All rights reserved. | 
|    2 // Use of this source code is governed by a BSD-style license that can be |    2 // Use of this source code is governed by a BSD-style license that can be | 
|    3 // found in the LICENSE file. |    3 // found in the LICENSE file. | 
|    4  |    4  | 
|    5 #ifndef V8_COUNTERS_H_ |    5 #ifndef V8_COUNTERS_H_ | 
|    6 #define V8_COUNTERS_H_ |    6 #define V8_COUNTERS_H_ | 
|    7  |    7  | 
|    8 #include "include/v8.h" |    8 #include "include/v8.h" | 
|    9 #include "src/allocation.h" |    9 #include "src/allocation.h" | 
|   10 #include "src/base/platform/elapsed-timer.h" |   10 #include "src/base/platform/elapsed-timer.h" | 
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  304   HT(gc_context, V8.GCContext) /* GC context cleanup time */ \ |  304   HT(gc_context, V8.GCContext) /* GC context cleanup time */ \ | 
|  305   HT(gc_idle_notification, V8.GCIdleNotification)            \ |  305   HT(gc_idle_notification, V8.GCIdleNotification)            \ | 
|  306   HT(gc_incremental_marking, V8.GCIncrementalMarking)        \ |  306   HT(gc_incremental_marking, V8.GCIncrementalMarking)        \ | 
|  307   HT(gc_low_memory_notification, V8.GCLowMemoryNotification) \ |  307   HT(gc_low_memory_notification, V8.GCLowMemoryNotification) \ | 
|  308   /* Parsing timers. */                                      \ |  308   /* Parsing timers. */                                      \ | 
|  309   HT(parse, V8.Parse)                                        \ |  309   HT(parse, V8.Parse)                                        \ | 
|  310   HT(parse_lazy, V8.ParseLazy)                               \ |  310   HT(parse_lazy, V8.ParseLazy)                               \ | 
|  311   HT(pre_parse, V8.PreParse)                                 \ |  311   HT(pre_parse, V8.PreParse)                                 \ | 
|  312   /* Total compilation times. */                             \ |  312   /* Total compilation times. */                             \ | 
|  313   HT(compile, V8.Compile)                                    \ |  313   HT(compile, V8.Compile)                                    \ | 
|  314   HT(compile_eval, V8.CompileEval) |  314   HT(compile_eval, V8.CompileEval)                           \ | 
 |  315   /* Serialization as part of compilation (code caching) */  \ | 
 |  316   HT(compile_serialize, V8.CompileSerialize)                 \ | 
 |  317   HT(compile_deserialize, V8.CompileDeserialize) | 
 |  318  | 
|  315  |  319  | 
|  316 #define HISTOGRAM_PERCENTAGE_LIST(HP)                                 \ |  320 #define HISTOGRAM_PERCENTAGE_LIST(HP)                                 \ | 
|  317   /* Heap fragmentation. */                                           \ |  321   /* Heap fragmentation. */                                           \ | 
|  318   HP(external_fragmentation_total,                                    \ |  322   HP(external_fragmentation_total,                                    \ | 
|  319      V8.MemoryExternalFragmentationTotal)                             \ |  323      V8.MemoryExternalFragmentationTotal)                             \ | 
|  320   HP(external_fragmentation_old_pointer_space,                        \ |  324   HP(external_fragmentation_old_pointer_space,                        \ | 
|  321      V8.MemoryExternalFragmentationOldPointerSpace)                   \ |  325      V8.MemoryExternalFragmentationOldPointerSpace)                   \ | 
|  322   HP(external_fragmentation_old_data_space,                           \ |  326   HP(external_fragmentation_old_data_space,                           \ | 
|  323      V8.MemoryExternalFragmentationOldDataSpace)                      \ |  327      V8.MemoryExternalFragmentationOldDataSpace)                      \ | 
|  324   HP(external_fragmentation_code_space,                               \ |  328   HP(external_fragmentation_code_space,                               \ | 
| (...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  698   friend class Isolate; |  702   friend class Isolate; | 
|  699  |  703  | 
|  700   explicit Counters(Isolate* isolate); |  704   explicit Counters(Isolate* isolate); | 
|  701  |  705  | 
|  702   DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); |  706   DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); | 
|  703 }; |  707 }; | 
|  704  |  708  | 
|  705 } }  // namespace v8::internal |  709 } }  // namespace v8::internal | 
|  706  |  710  | 
|  707 #endif  // V8_COUNTERS_H_ |  711 #endif  // V8_COUNTERS_H_ | 
| OLD | NEW |