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 942 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
953 /* Serialization as part of compilation (code caching) */ \ | 953 /* Serialization as part of compilation (code caching) */ \ |
954 HT(compile_serialize, V8.CompileSerializeMicroSeconds, 100000, MICROSECOND) \ | 954 HT(compile_serialize, V8.CompileSerializeMicroSeconds, 100000, MICROSECOND) \ |
955 HT(compile_deserialize, V8.CompileDeserializeMicroSeconds, 1000000, \ | 955 HT(compile_deserialize, V8.CompileDeserializeMicroSeconds, 1000000, \ |
956 MICROSECOND) \ | 956 MICROSECOND) \ |
957 /* Total compilation time incl. caching/parsing */ \ | 957 /* Total compilation time incl. caching/parsing */ \ |
958 HT(compile_script, V8.CompileScriptMicroSeconds, 1000000, MICROSECOND) \ | 958 HT(compile_script, V8.CompileScriptMicroSeconds, 1000000, MICROSECOND) \ |
959 /* Total JavaScript execution time (including callbacks and runtime calls */ \ | 959 /* Total JavaScript execution time (including callbacks and runtime calls */ \ |
960 HT(execute, V8.Execute, 1000000, MICROSECOND) \ | 960 HT(execute, V8.Execute, 1000000, MICROSECOND) \ |
961 /* Asm/Wasm */ \ | 961 /* Asm/Wasm */ \ |
962 HT(wasm_instantiate_asm_module_time, \ | 962 HT(wasm_instantiate_asm_module_time, \ |
963 V8.WasmInstantiateModuleMicroSeconds.asm, 1000000, MICROSECOND) \ | 963 V8.WasmInstantiateModuleMicroSeconds.asm, 10000000, MICROSECOND) \ |
964 HT(wasm_instantiate_wasm_module_time, \ | 964 HT(wasm_instantiate_wasm_module_time, \ |
965 V8.WasmInstantiateModuleMicroSeconds.wasm, 1000000, MICROSECOND) \ | 965 V8.WasmInstantiateModuleMicroSeconds.wasm, 10000000, MICROSECOND) \ |
966 HT(wasm_decode_asm_module_time, V8.WasmDecodeModuleMicroSeconds.asm, \ | 966 HT(wasm_decode_asm_module_time, V8.WasmDecodeModuleMicroSeconds.asm, \ |
967 1000000, MICROSECOND) \ | 967 1000000, MICROSECOND) \ |
968 HT(wasm_decode_wasm_module_time, V8.WasmDecodeModuleMicroSeconds.wasm, \ | 968 HT(wasm_decode_wasm_module_time, V8.WasmDecodeModuleMicroSeconds.wasm, \ |
969 1000000, MICROSECOND) \ | 969 1000000, MICROSECOND) \ |
970 HT(wasm_decode_asm_function_time, V8.WasmDecodeFunctionMicroSeconds.asm, \ | 970 HT(wasm_decode_asm_function_time, V8.WasmDecodeFunctionMicroSeconds.asm, \ |
971 1000000, MICROSECOND) \ | 971 1000000, MICROSECOND) \ |
972 HT(wasm_decode_wasm_function_time, V8.WasmDecodeFunctionMicroSeconds.wasm, \ | 972 HT(wasm_decode_wasm_function_time, V8.WasmDecodeFunctionMicroSeconds.wasm, \ |
973 1000000, MICROSECOND) \ | 973 1000000, MICROSECOND) \ |
974 HT(wasm_compile_asm_module_time, V8.WasmCompileModuleMicroSeconds.asm, \ | 974 HT(wasm_compile_asm_module_time, V8.WasmCompileModuleMicroSeconds.asm, \ |
975 1000000, MICROSECOND) \ | 975 1000000, MICROSECOND) \ |
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1336 | 1336 |
1337 explicit Counters(Isolate* isolate); | 1337 explicit Counters(Isolate* isolate); |
1338 | 1338 |
1339 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); | 1339 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); |
1340 }; | 1340 }; |
1341 | 1341 |
1342 } // namespace internal | 1342 } // namespace internal |
1343 } // namespace v8 | 1343 } // namespace v8 |
1344 | 1344 |
1345 #endif // V8_COUNTERS_H_ | 1345 #endif // V8_COUNTERS_H_ |
OLD | NEW |