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 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
481 HR(detached_context_age_in_gc, V8.DetachedContextAgeInGC, 0, 20, 21) \ | 481 HR(detached_context_age_in_gc, V8.DetachedContextAgeInGC, 0, 20, 21) \ |
482 HR(gc_idle_time_allotted_in_ms, V8.GCIdleTimeAllottedInMS, 0, 10000, 101) \ | 482 HR(gc_idle_time_allotted_in_ms, V8.GCIdleTimeAllottedInMS, 0, 10000, 101) \ |
483 HR(gc_idle_time_limit_overshot, V8.GCIdleTimeLimit.Overshot, 0, 10000, 101) \ | 483 HR(gc_idle_time_limit_overshot, V8.GCIdleTimeLimit.Overshot, 0, 10000, 101) \ |
484 HR(gc_idle_time_limit_undershot, V8.GCIdleTimeLimit.Undershot, 0, 10000, \ | 484 HR(gc_idle_time_limit_undershot, V8.GCIdleTimeLimit.Undershot, 0, 10000, \ |
485 101) \ | 485 101) \ |
486 HR(code_cache_reject_reason, V8.CodeCacheRejectReason, 1, 6, 6) | 486 HR(code_cache_reject_reason, V8.CodeCacheRejectReason, 1, 6, 6) |
487 | 487 |
488 #define HISTOGRAM_TIMER_LIST(HT) \ | 488 #define HISTOGRAM_TIMER_LIST(HT) \ |
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.GCFinalzeMC, 10000, MILLISECOND) \ | |
492 HT(gc_finalize_reduce, V8.GCFinalizeMCReduceMemory, 10000, MILLISECOND) \ | |
ulan
2015/10/05 14:55:59
Let's call it gc_finalize_reduce_memory for consis
Hannes Payer (out of office)
2015/10/05 15:00:03
Done.
| |
491 HT(gc_scavenger, V8.GCScavenger, 10000, MILLISECOND) \ | 493 HT(gc_scavenger, V8.GCScavenger, 10000, MILLISECOND) \ |
492 HT(gc_context, V8.GCContext, 10000, \ | 494 HT(gc_context, V8.GCContext, 10000, \ |
493 MILLISECOND) /* GC context cleanup time */ \ | 495 MILLISECOND) /* GC context cleanup time */ \ |
494 HT(gc_idle_notification, V8.GCIdleNotification, 10000, MILLISECOND) \ | 496 HT(gc_idle_notification, V8.GCIdleNotification, 10000, MILLISECOND) \ |
495 HT(gc_incremental_marking, V8.GCIncrementalMarking, 10000, MILLISECOND) \ | 497 HT(gc_incremental_marking, V8.GCIncrementalMarking, 10000, MILLISECOND) \ |
496 HT(gc_low_memory_notification, V8.GCLowMemoryNotification, 10000, \ | 498 HT(gc_low_memory_notification, V8.GCLowMemoryNotification, 10000, \ |
497 MILLISECOND) \ | 499 MILLISECOND) \ |
498 /* Parsing timers. */ \ | 500 /* Parsing timers. */ \ |
499 HT(parse, V8.ParseMicroSeconds, 1000000, MICROSECOND) \ | 501 HT(parse, V8.ParseMicroSeconds, 1000000, MICROSECOND) \ |
500 HT(parse_lazy, V8.ParseLazyMicroSeconds, 1000000, MICROSECOND) \ | 502 HT(parse_lazy, V8.ParseLazyMicroSeconds, 1000000, MICROSECOND) \ |
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
883 | 885 |
884 explicit Counters(Isolate* isolate); | 886 explicit Counters(Isolate* isolate); |
885 | 887 |
886 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); | 888 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); |
887 }; | 889 }; |
888 | 890 |
889 } // namespace internal | 891 } // namespace internal |
890 } // namespace v8 | 892 } // namespace v8 |
891 | 893 |
892 #endif // V8_COUNTERS_H_ | 894 #endif // V8_COUNTERS_H_ |
OLD | NEW |