| 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 5159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5170 */ | 5170 */ |
| 5171 class V8_EXPORT HeapStatistics { | 5171 class V8_EXPORT HeapStatistics { |
| 5172 public: | 5172 public: |
| 5173 HeapStatistics(); | 5173 HeapStatistics(); |
| 5174 size_t total_heap_size() { return total_heap_size_; } | 5174 size_t total_heap_size() { return total_heap_size_; } |
| 5175 size_t total_heap_size_executable() { return total_heap_size_executable_; } | 5175 size_t total_heap_size_executable() { return total_heap_size_executable_; } |
| 5176 size_t total_physical_size() { return total_physical_size_; } | 5176 size_t total_physical_size() { return total_physical_size_; } |
| 5177 size_t total_available_size() { return total_available_size_; } | 5177 size_t total_available_size() { return total_available_size_; } |
| 5178 size_t used_heap_size() { return used_heap_size_; } | 5178 size_t used_heap_size() { return used_heap_size_; } |
| 5179 size_t heap_size_limit() { return heap_size_limit_; } | 5179 size_t heap_size_limit() { return heap_size_limit_; } |
| 5180 size_t malloced_memory() { return malloced_memory_; } |
| 5180 size_t does_zap_garbage() { return does_zap_garbage_; } | 5181 size_t does_zap_garbage() { return does_zap_garbage_; } |
| 5181 | 5182 |
| 5182 private: | 5183 private: |
| 5183 size_t total_heap_size_; | 5184 size_t total_heap_size_; |
| 5184 size_t total_heap_size_executable_; | 5185 size_t total_heap_size_executable_; |
| 5185 size_t total_physical_size_; | 5186 size_t total_physical_size_; |
| 5186 size_t total_available_size_; | 5187 size_t total_available_size_; |
| 5187 size_t used_heap_size_; | 5188 size_t used_heap_size_; |
| 5188 size_t heap_size_limit_; | 5189 size_t heap_size_limit_; |
| 5190 size_t malloced_memory_; |
| 5189 bool does_zap_garbage_; | 5191 bool does_zap_garbage_; |
| 5190 | 5192 |
| 5191 friend class V8; | 5193 friend class V8; |
| 5192 friend class Isolate; | 5194 friend class Isolate; |
| 5193 }; | 5195 }; |
| 5194 | 5196 |
| 5195 | 5197 |
| 5196 class V8_EXPORT HeapSpaceStatistics { | 5198 class V8_EXPORT HeapSpaceStatistics { |
| 5197 public: | 5199 public: |
| 5198 HeapSpaceStatistics(); | 5200 HeapSpaceStatistics(); |
| (...skipping 3488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8687 */ | 8689 */ |
| 8688 | 8690 |
| 8689 | 8691 |
| 8690 } // namespace v8 | 8692 } // namespace v8 |
| 8691 | 8693 |
| 8692 | 8694 |
| 8693 #undef TYPE_CHECK | 8695 #undef TYPE_CHECK |
| 8694 | 8696 |
| 8695 | 8697 |
| 8696 #endif // INCLUDE_V8_H_ | 8698 #endif // INCLUDE_V8_H_ |
| OLD | NEW |