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 965 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
976 /* Asm/Wasm */ \ | 976 /* Asm/Wasm */ \ |
977 HT(wasm_instantiate_module_time, V8.WasmInstantiateModuleMicroSeconds, \ | 977 HT(wasm_instantiate_module_time, V8.WasmInstantiateModuleMicroSeconds, \ |
978 1000000, MICROSECOND) \ | 978 1000000, MICROSECOND) \ |
979 HT(wasm_decode_module_time, V8.WasmDecodeModuleMicroSeconds, 1000000, \ | 979 HT(wasm_decode_module_time, V8.WasmDecodeModuleMicroSeconds, 1000000, \ |
980 MICROSECOND) \ | 980 MICROSECOND) \ |
981 HT(wasm_decode_function_time, V8.WasmDecodeFunctionMicroSeconds, 1000000, \ | 981 HT(wasm_decode_function_time, V8.WasmDecodeFunctionMicroSeconds, 1000000, \ |
982 MICROSECOND) \ | 982 MICROSECOND) \ |
983 HT(wasm_compile_module_time, V8.WasmCompileModuleMicroSeconds, 1000000, \ | 983 HT(wasm_compile_module_time, V8.WasmCompileModuleMicroSeconds, 1000000, \ |
984 MICROSECOND) \ | 984 MICROSECOND) \ |
985 HT(wasm_compile_function_time, V8.WasmCompileFunctionMicroSeconds, 1000000, \ | 985 HT(wasm_compile_function_time, V8.WasmCompileFunctionMicroSeconds, 1000000, \ |
| 986 MICROSECOND) \ |
| 987 HT(asm_wasm_translation_time, V8.AsmWasmTranslationMicroSeconds, 1000000, \ |
986 MICROSECOND) | 988 MICROSECOND) |
987 | 989 |
988 #define AGGREGATABLE_HISTOGRAM_TIMER_LIST(AHT) \ | 990 #define AGGREGATABLE_HISTOGRAM_TIMER_LIST(AHT) \ |
989 AHT(compile_lazy, V8.CompileLazyMicroSeconds) | 991 AHT(compile_lazy, V8.CompileLazyMicroSeconds) |
990 | 992 |
991 #define HISTOGRAM_PERCENTAGE_LIST(HP) \ | 993 #define HISTOGRAM_PERCENTAGE_LIST(HP) \ |
992 /* Heap fragmentation. */ \ | 994 /* Heap fragmentation. */ \ |
993 HP(external_fragmentation_total, V8.MemoryExternalFragmentationTotal) \ | 995 HP(external_fragmentation_total, V8.MemoryExternalFragmentationTotal) \ |
994 HP(external_fragmentation_old_space, V8.MemoryExternalFragmentationOldSpace) \ | 996 HP(external_fragmentation_old_space, V8.MemoryExternalFragmentationOldSpace) \ |
995 HP(external_fragmentation_code_space, \ | 997 HP(external_fragmentation_code_space, \ |
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1335 | 1337 |
1336 explicit Counters(Isolate* isolate); | 1338 explicit Counters(Isolate* isolate); |
1337 | 1339 |
1338 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); | 1340 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); |
1339 }; | 1341 }; |
1340 | 1342 |
1341 } // namespace internal | 1343 } // namespace internal |
1342 } // namespace v8 | 1344 } // namespace v8 |
1343 | 1345 |
1344 #endif // V8_COUNTERS_H_ | 1346 #endif // V8_COUNTERS_H_ |
OLD | NEW |