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

Side by Side Diff: src/counters.h

Issue 2663713003: [wasm] Add timer to measure asm->wasm translation (Closed)
Patch Set: Created 3 years, 10 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 | « src/asmjs/asm-wasm-builder.cc ('k') | no next file » | 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 965 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « src/asmjs/asm-wasm-builder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698