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 478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
489 /* Garbage collection timers. */ \ | 489 /* Garbage collection timers. */ \ |
490 HT(gc_compactor, V8.GCCompactor, 10000, MILLISECOND) \ | 490 HT(gc_compactor, V8.GCCompactor, 10000, MILLISECOND) \ |
491 HT(gc_finalize, V8.GCFinalizeMC, 10000, MILLISECOND) \ | 491 HT(gc_finalize, V8.GCFinalizeMC, 10000, MILLISECOND) \ |
492 HT(gc_finalize_reduce_memory, V8.GCFinalizeMCReduceMemory, 10000, \ | 492 HT(gc_finalize_reduce_memory, V8.GCFinalizeMCReduceMemory, 10000, \ |
493 MILLISECOND) \ | 493 MILLISECOND) \ |
494 HT(gc_scavenger, V8.GCScavenger, 10000, MILLISECOND) \ | 494 HT(gc_scavenger, V8.GCScavenger, 10000, MILLISECOND) \ |
495 HT(gc_context, V8.GCContext, 10000, \ | 495 HT(gc_context, V8.GCContext, 10000, \ |
496 MILLISECOND) /* GC context cleanup time */ \ | 496 MILLISECOND) /* GC context cleanup time */ \ |
497 HT(gc_idle_notification, V8.GCIdleNotification, 10000, MILLISECOND) \ | 497 HT(gc_idle_notification, V8.GCIdleNotification, 10000, MILLISECOND) \ |
498 HT(gc_incremental_marking, V8.GCIncrementalMarking, 10000, MILLISECOND) \ | 498 HT(gc_incremental_marking, V8.GCIncrementalMarking, 10000, MILLISECOND) \ |
| 499 HT(gc_incremental_marking_start, V8.GCIncrementalMarkingStart, 10000, \ |
| 500 MILLISECOND) \ |
| 501 HT(gc_incremental_marking_finalize, V8.GCIncrementalMarkingFinalize, 10000, \ |
| 502 MILLISECOND) \ |
499 HT(gc_low_memory_notification, V8.GCLowMemoryNotification, 10000, \ | 503 HT(gc_low_memory_notification, V8.GCLowMemoryNotification, 10000, \ |
500 MILLISECOND) \ | 504 MILLISECOND) \ |
501 /* Parsing timers. */ \ | 505 /* Parsing timers. */ \ |
502 HT(parse, V8.ParseMicroSeconds, 1000000, MICROSECOND) \ | 506 HT(parse, V8.ParseMicroSeconds, 1000000, MICROSECOND) \ |
503 HT(parse_lazy, V8.ParseLazyMicroSeconds, 1000000, MICROSECOND) \ | 507 HT(parse_lazy, V8.ParseLazyMicroSeconds, 1000000, MICROSECOND) \ |
504 HT(pre_parse, V8.PreParseMicroSeconds, 1000000, MICROSECOND) \ | 508 HT(pre_parse, V8.PreParseMicroSeconds, 1000000, MICROSECOND) \ |
505 /* Compilation times. */ \ | 509 /* Compilation times. */ \ |
506 HT(compile, V8.CompileMicroSeconds, 1000000, MICROSECOND) \ | 510 HT(compile, V8.CompileMicroSeconds, 1000000, MICROSECOND) \ |
507 HT(compile_eval, V8.CompileEvalMicroSeconds, 1000000, MICROSECOND) \ | 511 HT(compile_eval, V8.CompileEvalMicroSeconds, 1000000, MICROSECOND) \ |
508 /* Serialization as part of compilation (code caching) */ \ | 512 /* Serialization as part of compilation (code caching) */ \ |
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
886 | 890 |
887 explicit Counters(Isolate* isolate); | 891 explicit Counters(Isolate* isolate); |
888 | 892 |
889 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); | 893 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); |
890 }; | 894 }; |
891 | 895 |
892 } // namespace internal | 896 } // namespace internal |
893 } // namespace v8 | 897 } // namespace v8 |
894 | 898 |
895 #endif // V8_COUNTERS_H_ | 899 #endif // V8_COUNTERS_H_ |
OLD | NEW |