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 1012 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 /* TODO(karlschimpf) Update chrome flags to reflect asm/wasm split. */ \ | 1027 /* TODO(karlschimpf) Update chrome flags to reflect asm/wasm split. */ \ |
1028 HM(wasm_asm_max_mem_pages_count, V8.WasmMaxMemPagesCount) \ | 1028 HM(wasm_asm_max_mem_pages_count, V8.WasmMaxMemPagesCount) \ |
1029 HM(wasm_wasm_max_mem_pages_count, V8.WasmMaxMemPagesCount) \ | 1029 HM(wasm_wasm_max_mem_pages_count, V8.WasmMaxMemPagesCount) \ |
1030 /* TODO(karlschimpf) Update chrome flags to reflect asm/wasm split. */ \ | 1030 /* TODO(karlschimpf) Update chrome flags to reflect asm/wasm split. */ \ |
1031 HM(wasm_asm_function_size_bytes, V8.WasmFunctionSizeBytes) \ | 1031 HM(wasm_asm_function_size_bytes, V8.WasmFunctionSizeBytes) \ |
1032 HM(wasm_wasm_function_size_bytes, V8.WasmFunctionSizeBytes) \ | 1032 HM(wasm_wasm_function_size_bytes, V8.WasmFunctionSizeBytes) \ |
1033 HM(wasm_module_size_bytes, V8.WasmModuleSizeBytes) | 1033 /* TODO(karlschimpf) Update chrome flags to reflect asm/wasm split. */ \ |
| 1034 HM(wasm_asm_module_size_bytes, V8.WasmModuleSizeBytes) \ |
| 1035 HM(wasm_wasm_module_size_bytes, V8.WasmModuleSizeBytes) |
1034 | 1036 |
1035 // WARNING: STATS_COUNTER_LIST_* is a very large macro that is causing MSVC | 1037 // WARNING: STATS_COUNTER_LIST_* is a very large macro that is causing MSVC |
1036 // Intellisense to crash. It was broken into two macros (each of length 40 | 1038 // Intellisense to crash. It was broken into two macros (each of length 40 |
1037 // lines) rather than one macro (of length about 80 lines) to work around | 1039 // lines) rather than one macro (of length about 80 lines) to work around |
1038 // this problem. Please avoid using recursive macros of this length when | 1040 // this problem. Please avoid using recursive macros of this length when |
1039 // possible. | 1041 // possible. |
1040 #define STATS_COUNTER_LIST_1(SC) \ | 1042 #define STATS_COUNTER_LIST_1(SC) \ |
1041 /* Global Handle Count*/ \ | 1043 /* Global Handle Count*/ \ |
1042 SC(global_handles, V8.GlobalHandles) \ | 1044 SC(global_handles, V8.GlobalHandles) \ |
1043 /* OS Memory allocated */ \ | 1045 /* OS Memory allocated */ \ |
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1342 | 1344 |
1343 explicit Counters(Isolate* isolate); | 1345 explicit Counters(Isolate* isolate); |
1344 | 1346 |
1345 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); | 1347 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); |
1346 }; | 1348 }; |
1347 | 1349 |
1348 } // namespace internal | 1350 } // namespace internal |
1349 } // namespace v8 | 1351 } // namespace v8 |
1350 | 1352 |
1351 #endif // V8_COUNTERS_H_ | 1353 #endif // V8_COUNTERS_H_ |
OLD | NEW |