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

Side by Side Diff: src/counters.h

Issue 2780563002: Separate module decoding counter into asm and wasm counters. (Closed)
Patch Set: Rename isWasm and isAsmJs to IsWasm and IsAsmJs. Created 3 years, 9 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/wasm/module-decoder.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 944 matching lines...) Expand 10 before | Expand all | Expand 10 after
955 /* Total compilation time incl. caching/parsing */ \ 955 /* Total compilation time incl. caching/parsing */ \
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 /* TODO(karlschimpf) Update chrome flags to reflect asm/wasm split. */ \ 960 /* TODO(karlschimpf) Update chrome flags to reflect asm/wasm split. */ \
961 HT(wasm_instantiate_asm_module_time, V8.WasmInstantiateModuleMicroSeconds, \ 961 HT(wasm_instantiate_asm_module_time, V8.WasmInstantiateModuleMicroSeconds, \
962 1000000, MICROSECOND) \ 962 1000000, MICROSECOND) \
963 HT(wasm_instantiate_wasm_module_time, V8.WasmInstantiateModuleMicroSeconds, \ 963 HT(wasm_instantiate_wasm_module_time, V8.WasmInstantiateModuleMicroSeconds, \
964 1000000, MICROSECOND) \ 964 1000000, MICROSECOND) \
965 HT(wasm_decode_module_time, V8.WasmDecodeModuleMicroSeconds, 1000000, \ 965 /* TODO(karlschimpf) Update chrome flags to reflect asm/wasm split. */ \
966 HT(wasm_decode_asm_module_time, V8.WasmDecodeModuleMicroSeconds, 1000000, \
967 MICROSECOND) \
968 HT(wasm_decode_wasm_module_time, V8.WasmDecodeModuleMicroSeconds, 1000000, \
966 MICROSECOND) \ 969 MICROSECOND) \
967 HT(wasm_decode_function_time, V8.WasmDecodeFunctionMicroSeconds, 1000000, \ 970 HT(wasm_decode_function_time, V8.WasmDecodeFunctionMicroSeconds, 1000000, \
968 MICROSECOND) \ 971 MICROSECOND) \
969 /* TODO(kschimpf) Update chrome flags to reflect asm/wasm split. */ \ 972 /* TODO(kschimpf) Update chrome flags to reflect asm/wasm split. */ \
970 HT(wasm_compile_asm_module_time, V8.WasmCompileModuleMicroSeconds, 1000000, \ 973 HT(wasm_compile_asm_module_time, V8.WasmCompileModuleMicroSeconds, 1000000, \
971 MICROSECOND) \ 974 MICROSECOND) \
972 HT(wasm_compile_wasm_module_time, V8.WasmCompileModuleMicroSeconds, 1000000, \ 975 HT(wasm_compile_wasm_module_time, V8.WasmCompileModuleMicroSeconds, 1000000, \
973 MICROSECOND) \ 976 MICROSECOND) \
974 HT(wasm_compile_function_time, V8.WasmCompileFunctionMicroSeconds, 1000000, \ 977 HT(wasm_compile_function_time, V8.WasmCompileFunctionMicroSeconds, 1000000, \
975 MICROSECOND) \ 978 MICROSECOND) \
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
1325 1328
1326 explicit Counters(Isolate* isolate); 1329 explicit Counters(Isolate* isolate);
1327 1330
1328 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); 1331 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters);
1329 }; 1332 };
1330 1333
1331 } // namespace internal 1334 } // namespace internal
1332 } // namespace v8 1335 } // namespace v8
1333 1336
1334 #endif // V8_COUNTERS_H_ 1337 #endif // V8_COUNTERS_H_
OLDNEW
« no previous file with comments | « no previous file | src/wasm/module-decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698