| 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 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 300 HT(gc_compactor, V8.GCCompactor) \ | 300 HT(gc_compactor, V8.GCCompactor) \ |
| 301 HT(gc_scavenger, V8.GCScavenger) \ | 301 HT(gc_scavenger, V8.GCScavenger) \ |
| 302 HT(gc_context, V8.GCContext) /* GC context cleanup time */ \ | 302 HT(gc_context, V8.GCContext) /* GC context cleanup time */ \ |
| 303 HT(gc_idle_notification, V8.GCIdleNotification) \ | 303 HT(gc_idle_notification, V8.GCIdleNotification) \ |
| 304 HT(gc_incremental_marking, V8.GCIncrementalMarking) \ | 304 HT(gc_incremental_marking, V8.GCIncrementalMarking) \ |
| 305 HT(gc_low_memory_notification, V8.GCLowMemoryNotification) \ | 305 HT(gc_low_memory_notification, V8.GCLowMemoryNotification) \ |
| 306 /* Parsing timers. */ \ | 306 /* Parsing timers. */ \ |
| 307 HT(parse, V8.Parse) \ | 307 HT(parse, V8.Parse) \ |
| 308 HT(parse_lazy, V8.ParseLazy) \ | 308 HT(parse_lazy, V8.ParseLazy) \ |
| 309 HT(pre_parse, V8.PreParse) \ | 309 HT(pre_parse, V8.PreParse) \ |
| 310 HT(background_parse, V8.BackgroundParse) \ |
| 310 /* Total compilation times. */ \ | 311 /* Total compilation times. */ \ |
| 311 HT(compile, V8.Compile) \ | 312 HT(compile, V8.Compile) \ |
| 312 HT(compile_eval, V8.CompileEval) \ | 313 HT(compile_eval, V8.CompileEval) \ |
| 313 HT(compile_lazy, V8.CompileLazy) | 314 HT(compile_lazy, V8.CompileLazy) |
| 314 | 315 |
| 315 #define HISTOGRAM_PERCENTAGE_LIST(HP) \ | 316 #define HISTOGRAM_PERCENTAGE_LIST(HP) \ |
| 316 /* Heap fragmentation. */ \ | 317 /* Heap fragmentation. */ \ |
| 317 HP(external_fragmentation_total, \ | 318 HP(external_fragmentation_total, \ |
| 318 V8.MemoryExternalFragmentationTotal) \ | 319 V8.MemoryExternalFragmentationTotal) \ |
| 319 HP(external_fragmentation_old_pointer_space, \ | 320 HP(external_fragmentation_old_pointer_space, \ |
| (...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 699 friend class Isolate; | 700 friend class Isolate; |
| 700 | 701 |
| 701 explicit Counters(Isolate* isolate); | 702 explicit Counters(Isolate* isolate); |
| 702 | 703 |
| 703 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); | 704 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); |
| 704 }; | 705 }; |
| 705 | 706 |
| 706 } } // namespace v8::internal | 707 } } // namespace v8::internal |
| 707 | 708 |
| 708 #endif // V8_COUNTERS_H_ | 709 #endif // V8_COUNTERS_H_ |
| OLD | NEW |