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 950 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
961 /* TODO(karlschimpf) Update chrome flags to reflect asm/wasm split. */ \ | 961 /* TODO(karlschimpf) Update chrome flags to reflect asm/wasm split. */ \ |
962 HT(wasm_instantiate_asm_module_time, V8.WasmInstantiateModuleMicroSeconds, \ | 962 HT(wasm_instantiate_asm_module_time, V8.WasmInstantiateModuleMicroSeconds, \ |
963 1000000, MICROSECOND) \ | 963 1000000, MICROSECOND) \ |
964 HT(wasm_instantiate_wasm_module_time, V8.WasmInstantiateModuleMicroSeconds, \ | 964 HT(wasm_instantiate_wasm_module_time, V8.WasmInstantiateModuleMicroSeconds, \ |
965 1000000, MICROSECOND) \ | 965 1000000, MICROSECOND) \ |
966 /* TODO(karlschimpf) Update chrome flags to reflect asm/wasm split. */ \ | 966 /* TODO(karlschimpf) Update chrome flags to reflect asm/wasm split. */ \ |
967 HT(wasm_decode_asm_module_time, V8.WasmDecodeModuleMicroSeconds, 1000000, \ | 967 HT(wasm_decode_asm_module_time, V8.WasmDecodeModuleMicroSeconds, 1000000, \ |
968 MICROSECOND) \ | 968 MICROSECOND) \ |
969 HT(wasm_decode_wasm_module_time, V8.WasmDecodeModuleMicroSeconds, 1000000, \ | 969 HT(wasm_decode_wasm_module_time, V8.WasmDecodeModuleMicroSeconds, 1000000, \ |
970 MICROSECOND) \ | 970 MICROSECOND) \ |
971 HT(wasm_decode_function_time, V8.WasmDecodeFunctionMicroSeconds, 1000000, \ | 971 /* TODO(karlschimpf) Update chrome flags to reflect asm/wasm split. */ \ |
972 MICROSECOND) \ | 972 HT(wasm_decode_asm_function_time, V8.WasmDecodeFunctionMicroSeconds, \ |
| 973 1000000, MICROSECOND) \ |
| 974 HT(wasm_decode_wasm_function_time, V8.WasmDecodeFunctionMicroSeconds, \ |
| 975 1000000, MICROSECOND) \ |
973 /* TODO(kschimpf) Update chrome flags to reflect asm/wasm split. */ \ | 976 /* TODO(kschimpf) Update chrome flags to reflect asm/wasm split. */ \ |
974 HT(wasm_compile_asm_module_time, V8.WasmCompileModuleMicroSeconds, 1000000, \ | 977 HT(wasm_compile_asm_module_time, V8.WasmCompileModuleMicroSeconds, 1000000, \ |
975 MICROSECOND) \ | 978 MICROSECOND) \ |
976 HT(wasm_compile_wasm_module_time, V8.WasmCompileModuleMicroSeconds, 1000000, \ | 979 HT(wasm_compile_wasm_module_time, V8.WasmCompileModuleMicroSeconds, 1000000, \ |
977 MICROSECOND) \ | 980 MICROSECOND) \ |
978 HT(wasm_compile_function_time, V8.WasmCompileFunctionMicroSeconds, 1000000, \ | 981 HT(wasm_compile_function_time, V8.WasmCompileFunctionMicroSeconds, 1000000, \ |
979 MICROSECOND) \ | 982 MICROSECOND) \ |
980 HT(asm_wasm_translation_time, V8.AsmWasmTranslationMicroSeconds, 1000000, \ | 983 HT(asm_wasm_translation_time, V8.AsmWasmTranslationMicroSeconds, 1000000, \ |
981 MICROSECOND) \ | 984 MICROSECOND) \ |
982 HT(wasm_lazy_compilation_time, V8.WasmLazyCompilationMicroSeconds, 1000000, \ | 985 HT(wasm_lazy_compilation_time, V8.WasmLazyCompilationMicroSeconds, 1000000, \ |
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1329 | 1332 |
1330 explicit Counters(Isolate* isolate); | 1333 explicit Counters(Isolate* isolate); |
1331 | 1334 |
1332 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); | 1335 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); |
1333 }; | 1336 }; |
1334 | 1337 |
1335 } // namespace internal | 1338 } // namespace internal |
1336 } // namespace v8 | 1339 } // namespace v8 |
1337 | 1340 |
1338 #endif // V8_COUNTERS_H_ | 1341 #endif // V8_COUNTERS_H_ |
OLD | NEW |