Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(487)

Side by Side Diff: src/counters.h

Issue 2902773002: Add V8 shared array allocation sizes histogram. (Closed)
Patch Set: Fix typo. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/objects.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 960 matching lines...) Expand 10 before | Expand all | Expand 10 after
971 HR(mark_compact_reason, V8.GCMarkCompactReason, 0, 21, 22) \ 971 HR(mark_compact_reason, V8.GCMarkCompactReason, 0, 21, 22) \
972 HR(scavenge_reason, V8.GCScavengeReason, 0, 21, 22) \ 972 HR(scavenge_reason, V8.GCScavengeReason, 0, 21, 22) \
973 HR(young_generation_handling, V8.GCYoungGenerationHandling, 0, 2, 3) \ 973 HR(young_generation_handling, V8.GCYoungGenerationHandling, 0, 2, 3) \
974 /* Asm/Wasm. */ \ 974 /* Asm/Wasm. */ \
975 HR(wasm_functions_per_asm_module, V8.WasmFunctionsPerModule.asm, 1, 100000, \ 975 HR(wasm_functions_per_asm_module, V8.WasmFunctionsPerModule.asm, 1, 100000, \
976 51) \ 976 51) \
977 HR(wasm_functions_per_wasm_module, V8.WasmFunctionsPerModule.wasm, 1, \ 977 HR(wasm_functions_per_wasm_module, V8.WasmFunctionsPerModule.wasm, 1, \
978 100000, 51) \ 978 100000, 51) \
979 HR(array_buffer_big_allocations, V8.ArrayBufferLargeAllocations, 0, 4096, \ 979 HR(array_buffer_big_allocations, V8.ArrayBufferLargeAllocations, 0, 4096, \
980 13) \ 980 13) \
981 HR(array_buffer_new_size_failures, V8.ArrayBufferNewSizeFailures, 0, 4096, 13) 981 HR(array_buffer_new_size_failures, V8.ArrayBufferNewSizeFailures, 0, 4096, \
982 13) \
983 HR(shared_array_allocations, V8.SharedArrayAllocationSizes, 0, 4096, 13)
982 984
983 #define HISTOGRAM_TIMER_LIST(HT) \ 985 #define HISTOGRAM_TIMER_LIST(HT) \
984 /* Garbage collection timers. */ \ 986 /* Garbage collection timers. */ \
985 HT(gc_compactor, V8.GCCompactor, 10000, MILLISECOND) \ 987 HT(gc_compactor, V8.GCCompactor, 10000, MILLISECOND) \
986 HT(gc_finalize, V8.GCFinalizeMC, 10000, MILLISECOND) \ 988 HT(gc_finalize, V8.GCFinalizeMC, 10000, MILLISECOND) \
987 HT(gc_finalize_reduce_memory, V8.GCFinalizeMCReduceMemory, 10000, \ 989 HT(gc_finalize_reduce_memory, V8.GCFinalizeMCReduceMemory, 10000, \
988 MILLISECOND) \ 990 MILLISECOND) \
989 HT(gc_scavenger, V8.GCScavenger, 10000, MILLISECOND) \ 991 HT(gc_scavenger, V8.GCScavenger, 10000, MILLISECOND) \
990 HT(gc_context, V8.GCContext, 10000, \ 992 HT(gc_context, V8.GCContext, 10000, \
991 MILLISECOND) /* GC context cleanup time */ \ 993 MILLISECOND) /* GC context cleanup time */ \
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
1403 1405
1404 friend class Isolate; 1406 friend class Isolate;
1405 1407
1406 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); 1408 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters);
1407 }; 1409 };
1408 1410
1409 } // namespace internal 1411 } // namespace internal
1410 } // namespace v8 1412 } // namespace v8
1411 1413
1412 #endif // V8_COUNTERS_H_ 1414 #endif // V8_COUNTERS_H_
OLDNEW
« no previous file with comments | « no previous file | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698