| 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 /** \mainpage V8 API Reference Guide | 5 /** \mainpage V8 API Reference Guide |
| 6 * | 6 * |
| 7 * V8 is Google's open source JavaScript engine. | 7 * V8 is Google's open source JavaScript engine. |
| 8 * | 8 * |
| 9 * This set of documents provides reference material generated from the | 9 * This set of documents provides reference material generated from the |
| 10 * V8 header file, include/v8.h. | 10 * V8 header file, include/v8.h. |
| (...skipping 5230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5241 class V8_EXPORT HeapStatistics { | 5241 class V8_EXPORT HeapStatistics { |
| 5242 public: | 5242 public: |
| 5243 HeapStatistics(); | 5243 HeapStatistics(); |
| 5244 size_t total_heap_size() { return total_heap_size_; } | 5244 size_t total_heap_size() { return total_heap_size_; } |
| 5245 size_t total_heap_size_executable() { return total_heap_size_executable_; } | 5245 size_t total_heap_size_executable() { return total_heap_size_executable_; } |
| 5246 size_t total_physical_size() { return total_physical_size_; } | 5246 size_t total_physical_size() { return total_physical_size_; } |
| 5247 size_t total_available_size() { return total_available_size_; } | 5247 size_t total_available_size() { return total_available_size_; } |
| 5248 size_t used_heap_size() { return used_heap_size_; } | 5248 size_t used_heap_size() { return used_heap_size_; } |
| 5249 size_t heap_size_limit() { return heap_size_limit_; } | 5249 size_t heap_size_limit() { return heap_size_limit_; } |
| 5250 size_t malloced_memory() { return malloced_memory_; } | 5250 size_t malloced_memory() { return malloced_memory_; } |
| 5251 size_t peak_malloced_memory() { return peak_malloced_memory_; } |
| 5251 size_t does_zap_garbage() { return does_zap_garbage_; } | 5252 size_t does_zap_garbage() { return does_zap_garbage_; } |
| 5252 | 5253 |
| 5253 private: | 5254 private: |
| 5254 size_t total_heap_size_; | 5255 size_t total_heap_size_; |
| 5255 size_t total_heap_size_executable_; | 5256 size_t total_heap_size_executable_; |
| 5256 size_t total_physical_size_; | 5257 size_t total_physical_size_; |
| 5257 size_t total_available_size_; | 5258 size_t total_available_size_; |
| 5258 size_t used_heap_size_; | 5259 size_t used_heap_size_; |
| 5259 size_t heap_size_limit_; | 5260 size_t heap_size_limit_; |
| 5260 size_t malloced_memory_; | 5261 size_t malloced_memory_; |
| 5262 size_t peak_malloced_memory_; |
| 5261 bool does_zap_garbage_; | 5263 bool does_zap_garbage_; |
| 5262 | 5264 |
| 5263 friend class V8; | 5265 friend class V8; |
| 5264 friend class Isolate; | 5266 friend class Isolate; |
| 5265 }; | 5267 }; |
| 5266 | 5268 |
| 5267 | 5269 |
| 5268 class V8_EXPORT HeapSpaceStatistics { | 5270 class V8_EXPORT HeapSpaceStatistics { |
| 5269 public: | 5271 public: |
| 5270 HeapSpaceStatistics(); | 5272 HeapSpaceStatistics(); |
| (...skipping 3672 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8943 */ | 8945 */ |
| 8944 | 8946 |
| 8945 | 8947 |
| 8946 } // namespace v8 | 8948 } // namespace v8 |
| 8947 | 8949 |
| 8948 | 8950 |
| 8949 #undef TYPE_CHECK | 8951 #undef TYPE_CHECK |
| 8950 | 8952 |
| 8951 | 8953 |
| 8952 #endif // INCLUDE_V8_H_ | 8954 #endif // INCLUDE_V8_H_ |
| OLD | NEW |