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

Side by Side Diff: src/counters.h

Issue 2785313002: Increase the range of WasmCompileModuleMicroSeconds histogram. (Closed)
Patch Set: Update both asm and wasm counters. Created 3 years, 8 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 | 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 954 matching lines...) Expand 10 before | Expand all | Expand 10 after
965 V8.WasmInstantiateModuleMicroSeconds.wasm, 1000000, MICROSECOND) \ 965 V8.WasmInstantiateModuleMicroSeconds.wasm, 1000000, 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 10000000, MICROSECOND) \
976 HT(wasm_compile_wasm_module_time, V8.WasmCompileModuleMicroSeconds.wasm, \ 976 HT(wasm_compile_wasm_module_time, V8.WasmCompileModuleMicroSeconds.wasm, \
977 1000000, MICROSECOND) \ 977 10000000, MICROSECOND) \
978 HT(wasm_compile_function_time, V8.WasmCompileFunctionMicroSeconds, 1000000, \ 978 HT(wasm_compile_function_time, V8.WasmCompileFunctionMicroSeconds, 1000000, \
979 MICROSECOND) \ 979 MICROSECOND) \
980 HT(asm_wasm_translation_time, V8.AsmWasmTranslationMicroSeconds, 1000000, \ 980 HT(asm_wasm_translation_time, V8.AsmWasmTranslationMicroSeconds, 1000000, \
981 MICROSECOND) \ 981 MICROSECOND) \
982 HT(wasm_lazy_compilation_time, V8.WasmLazyCompilationMicroSeconds, 1000000, \ 982 HT(wasm_lazy_compilation_time, V8.WasmLazyCompilationMicroSeconds, 1000000, \
983 MICROSECOND) 983 MICROSECOND)
984 984
985 #define AGGREGATABLE_HISTOGRAM_TIMER_LIST(AHT) \ 985 #define AGGREGATABLE_HISTOGRAM_TIMER_LIST(AHT) \
986 AHT(compile_lazy, V8.CompileLazyMicroSeconds) 986 AHT(compile_lazy, V8.CompileLazyMicroSeconds)
987 987
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698