| 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 945 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 956 HT(compile_script, V8.CompileScriptMicroSeconds, 1000000, MICROSECOND) \ | 956 HT(compile_script, V8.CompileScriptMicroSeconds, 1000000, MICROSECOND) \ |
| 957 /* Total JavaScript execution time (including callbacks and runtime calls */ \ | 957 /* Total JavaScript execution time (including callbacks and runtime calls */ \ |
| 958 HT(execute, V8.Execute, 1000000, MICROSECOND) \ | 958 HT(execute, V8.Execute, 1000000, MICROSECOND) \ |
| 959 /* Asm/Wasm */ \ | 959 /* Asm/Wasm */ \ |
| 960 HT(wasm_instantiate_module_time, V8.WasmInstantiateModuleMicroSeconds, \ | 960 HT(wasm_instantiate_module_time, V8.WasmInstantiateModuleMicroSeconds, \ |
| 961 1000000, MICROSECOND) \ | 961 1000000, MICROSECOND) \ |
| 962 HT(wasm_decode_module_time, V8.WasmDecodeModuleMicroSeconds, 1000000, \ | 962 HT(wasm_decode_module_time, V8.WasmDecodeModuleMicroSeconds, 1000000, \ |
| 963 MICROSECOND) \ | 963 MICROSECOND) \ |
| 964 HT(wasm_decode_function_time, V8.WasmDecodeFunctionMicroSeconds, 1000000, \ | 964 HT(wasm_decode_function_time, V8.WasmDecodeFunctionMicroSeconds, 1000000, \ |
| 965 MICROSECOND) \ | 965 MICROSECOND) \ |
| 966 HT(wasm_compile_module_time, V8.WasmCompileModuleMicroSeconds, 1000000, \ | 966 /* TODO(kschimpf) Update chrome flags to reflect asm/wasm split. */ \ |
| 967 HT(wasm_compile_asm_module_time, V8.WasmCompileModuleMicroSeconds, 1000000, \ |
| 968 MICROSECOND) \ |
| 969 HT(wasm_compile_wasm_module_time, V8.WasmCompileModuleMicroSeconds, 1000000, \ |
| 967 MICROSECOND) \ | 970 MICROSECOND) \ |
| 968 HT(wasm_compile_function_time, V8.WasmCompileFunctionMicroSeconds, 1000000, \ | 971 HT(wasm_compile_function_time, V8.WasmCompileFunctionMicroSeconds, 1000000, \ |
| 969 MICROSECOND) \ | 972 MICROSECOND) \ |
| 970 HT(asm_wasm_translation_time, V8.AsmWasmTranslationMicroSeconds, 1000000, \ | 973 HT(asm_wasm_translation_time, V8.AsmWasmTranslationMicroSeconds, 1000000, \ |
| 971 MICROSECOND) \ | 974 MICROSECOND) \ |
| 972 HT(wasm_lazy_compilation_time, V8.WasmLazyCompilationMicroSeconds, 1000000, \ | 975 HT(wasm_lazy_compilation_time, V8.WasmLazyCompilationMicroSeconds, 1000000, \ |
| 973 MICROSECOND) | 976 MICROSECOND) |
| 974 | 977 |
| 975 #define AGGREGATABLE_HISTOGRAM_TIMER_LIST(AHT) \ | 978 #define AGGREGATABLE_HISTOGRAM_TIMER_LIST(AHT) \ |
| 976 AHT(compile_lazy, V8.CompileLazyMicroSeconds) | 979 AHT(compile_lazy, V8.CompileLazyMicroSeconds) |
| (...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1319 | 1322 |
| 1320 explicit Counters(Isolate* isolate); | 1323 explicit Counters(Isolate* isolate); |
| 1321 | 1324 |
| 1322 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); | 1325 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); |
| 1323 }; | 1326 }; |
| 1324 | 1327 |
| 1325 } // namespace internal | 1328 } // namespace internal |
| 1326 } // namespace v8 | 1329 } // namespace v8 |
| 1327 | 1330 |
| 1328 #endif // V8_COUNTERS_H_ | 1331 #endif // V8_COUNTERS_H_ |
| OLD | NEW |