| 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/atomic-utils.h" | 10 #include "src/base/atomic-utils.h" |
| (...skipping 910 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 921 HR(errors_thrown_per_context, V8.ErrorsThrownPerContext, 0, 200, 20) \ | 921 HR(errors_thrown_per_context, V8.ErrorsThrownPerContext, 0, 200, 20) \ |
| 922 HR(debug_feature_usage, V8.DebugFeatureUsage, 1, 7, 7) \ | 922 HR(debug_feature_usage, V8.DebugFeatureUsage, 1, 7, 7) \ |
| 923 HR(incremental_marking_reason, V8.GCIncrementalMarkingReason, 0, 21, 22) \ | 923 HR(incremental_marking_reason, V8.GCIncrementalMarkingReason, 0, 21, 22) \ |
| 924 HR(mark_compact_reason, V8.GCMarkCompactReason, 0, 21, 22) \ | 924 HR(mark_compact_reason, V8.GCMarkCompactReason, 0, 21, 22) \ |
| 925 HR(scavenge_reason, V8.GCScavengeReason, 0, 21, 22) \ | 925 HR(scavenge_reason, V8.GCScavengeReason, 0, 21, 22) \ |
| 926 HR(young_generation_handling, V8.GCYoungGenerationHandling, 0, 2, 3) \ | 926 HR(young_generation_handling, V8.GCYoungGenerationHandling, 0, 2, 3) \ |
| 927 /* Asm/Wasm. */ \ | 927 /* Asm/Wasm. */ \ |
| 928 HR(wasm_functions_per_asm_module, V8.WasmFunctionsPerModule.asm, 1, 100000, \ | 928 HR(wasm_functions_per_asm_module, V8.WasmFunctionsPerModule.asm, 1, 100000, \ |
| 929 51) \ | 929 51) \ |
| 930 HR(wasm_functions_per_wasm_module, V8.WasmFunctionsPerModule.wasm, 1, \ | 930 HR(wasm_functions_per_wasm_module, V8.WasmFunctionsPerModule.wasm, 1, \ |
| 931 100000, 51) | 931 100000, 51) \ |
| 932 HR(array_buffer_big_allocations, V8.ArrayBufferBigAllocations, 1, 32, 32) |
| 932 | 933 |
| 933 #define HISTOGRAM_TIMER_LIST(HT) \ | 934 #define HISTOGRAM_TIMER_LIST(HT) \ |
| 934 /* Garbage collection timers. */ \ | 935 /* Garbage collection timers. */ \ |
| 935 HT(gc_compactor, V8.GCCompactor, 10000, MILLISECOND) \ | 936 HT(gc_compactor, V8.GCCompactor, 10000, MILLISECOND) \ |
| 936 HT(gc_finalize, V8.GCFinalizeMC, 10000, MILLISECOND) \ | 937 HT(gc_finalize, V8.GCFinalizeMC, 10000, MILLISECOND) \ |
| 937 HT(gc_finalize_reduce_memory, V8.GCFinalizeMCReduceMemory, 10000, \ | 938 HT(gc_finalize_reduce_memory, V8.GCFinalizeMCReduceMemory, 10000, \ |
| 938 MILLISECOND) \ | 939 MILLISECOND) \ |
| 939 HT(gc_scavenger, V8.GCScavenger, 10000, MILLISECOND) \ | 940 HT(gc_scavenger, V8.GCScavenger, 10000, MILLISECOND) \ |
| 940 HT(gc_context, V8.GCContext, 10000, \ | 941 HT(gc_context, V8.GCContext, 10000, \ |
| 941 MILLISECOND) /* GC context cleanup time */ \ | 942 MILLISECOND) /* GC context cleanup time */ \ |
| (...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1336 | 1337 |
| 1337 explicit Counters(Isolate* isolate); | 1338 explicit Counters(Isolate* isolate); |
| 1338 | 1339 |
| 1339 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); | 1340 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); |
| 1340 }; | 1341 }; |
| 1341 | 1342 |
| 1342 } // namespace internal | 1343 } // namespace internal |
| 1343 } // namespace v8 | 1344 } // namespace v8 |
| 1344 | 1345 |
| 1345 #endif // V8_COUNTERS_H_ | 1346 #endif // V8_COUNTERS_H_ |
| OLD | NEW |