| 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 1006 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1017 /* TODO(karlschimpf) Update chrome flags to reflect asm/wasm split. */ \ | 1017 /* TODO(karlschimpf) Update chrome flags to reflect asm/wasm split. */ \ |
| 1018 HM(wasm_decode_asm_module_peak_memory_bytes, \ | 1018 HM(wasm_decode_asm_module_peak_memory_bytes, \ |
| 1019 V8.WasmDecodeModulePeakMemoryBytes) \ | 1019 V8.WasmDecodeModulePeakMemoryBytes) \ |
| 1020 HM(wasm_decode_wasm_module_peak_memory_bytes, \ | 1020 HM(wasm_decode_wasm_module_peak_memory_bytes, \ |
| 1021 V8.WasmDecodeModulePeakMemoryBytes) \ | 1021 V8.WasmDecodeModulePeakMemoryBytes) \ |
| 1022 HM(wasm_compile_function_peak_memory_bytes, \ | 1022 HM(wasm_compile_function_peak_memory_bytes, \ |
| 1023 V8.WasmCompileFunctionPeakMemoryBytes) \ | 1023 V8.WasmCompileFunctionPeakMemoryBytes) \ |
| 1024 /* TODO(karlschimpf) Update chrome flags to reflect asm/wasm split. */ \ | 1024 /* TODO(karlschimpf) Update chrome flags to reflect asm/wasm split. */ \ |
| 1025 HM(wasm_asm_min_mem_pages_count, V8.WasmMinMemPagesCount) \ | 1025 HM(wasm_asm_min_mem_pages_count, V8.WasmMinMemPagesCount) \ |
| 1026 HM(wasm_wasm_min_mem_pages_count, V8.WasmMinMemPagesCount) \ | 1026 HM(wasm_wasm_min_mem_pages_count, V8.WasmMinMemPagesCount) \ |
| 1027 HM(wasm_max_mem_pages_count, V8.WasmMaxMemPagesCount) \ | 1027 /* TODO(karlschimpf) Update chrome flags to reflect asm/wasm split. */ \ |
| 1028 HM(wasm_asm_max_mem_pages_count, V8.WasmMaxMemPagesCount) \ |
| 1029 HM(wasm_wasm_max_mem_pages_count, V8.WasmMaxMemPagesCount) \ |
| 1028 /* TODO(karlschimpf) Update chrome flags to reflect asm/wasm split. */ \ | 1030 /* TODO(karlschimpf) Update chrome flags to reflect asm/wasm split. */ \ |
| 1029 HM(wasm_asm_function_size_bytes, V8.WasmFunctionSizeBytes) \ | 1031 HM(wasm_asm_function_size_bytes, V8.WasmFunctionSizeBytes) \ |
| 1030 HM(wasm_wasm_function_size_bytes, V8.WasmFunctionSizeBytes) \ | 1032 HM(wasm_wasm_function_size_bytes, V8.WasmFunctionSizeBytes) \ |
| 1031 HM(wasm_module_size_bytes, V8.WasmModuleSizeBytes) | 1033 HM(wasm_module_size_bytes, V8.WasmModuleSizeBytes) |
| 1032 | 1034 |
| 1033 // WARNING: STATS_COUNTER_LIST_* is a very large macro that is causing MSVC | 1035 // WARNING: STATS_COUNTER_LIST_* is a very large macro that is causing MSVC |
| 1034 // Intellisense to crash. It was broken into two macros (each of length 40 | 1036 // Intellisense to crash. It was broken into two macros (each of length 40 |
| 1035 // lines) rather than one macro (of length about 80 lines) to work around | 1037 // lines) rather than one macro (of length about 80 lines) to work around |
| 1036 // this problem. Please avoid using recursive macros of this length when | 1038 // this problem. Please avoid using recursive macros of this length when |
| 1037 // possible. | 1039 // possible. |
| (...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1340 | 1342 |
| 1341 explicit Counters(Isolate* isolate); | 1343 explicit Counters(Isolate* isolate); |
| 1342 | 1344 |
| 1343 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); | 1345 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); |
| 1344 }; | 1346 }; |
| 1345 | 1347 |
| 1346 } // namespace internal | 1348 } // namespace internal |
| 1347 } // namespace v8 | 1349 } // namespace v8 |
| 1348 | 1350 |
| 1349 #endif // V8_COUNTERS_H_ | 1351 #endif // V8_COUNTERS_H_ |
| OLD | NEW |