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 4883 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4894 size_t total_heap_size_executable_; | 4894 size_t total_heap_size_executable_; |
4895 size_t total_physical_size_; | 4895 size_t total_physical_size_; |
4896 size_t used_heap_size_; | 4896 size_t used_heap_size_; |
4897 size_t heap_size_limit_; | 4897 size_t heap_size_limit_; |
4898 | 4898 |
4899 friend class V8; | 4899 friend class V8; |
4900 friend class Isolate; | 4900 friend class Isolate; |
4901 }; | 4901 }; |
4902 | 4902 |
4903 | 4903 |
4904 class HeapSpaceStatistics { | 4904 class V8_EXPORT HeapSpaceStatistics { |
4905 public: | 4905 public: |
4906 HeapSpaceStatistics(); | 4906 HeapSpaceStatistics(); |
4907 const char* space_name() { return space_name_; } | 4907 const char* space_name() { return space_name_; } |
4908 size_t space_size() { return space_size_; } | 4908 size_t space_size() { return space_size_; } |
4909 size_t space_used_size() { return space_used_size_; } | 4909 size_t space_used_size() { return space_used_size_; } |
4910 size_t space_available_size() { return space_available_size_; } | 4910 size_t space_available_size() { return space_available_size_; } |
4911 size_t physical_space_size() { return physical_space_size_; } | 4911 size_t physical_space_size() { return physical_space_size_; } |
4912 | 4912 |
4913 private: | 4913 private: |
4914 const char* space_name_; | 4914 const char* space_name_; |
(...skipping 3216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8131 */ | 8131 */ |
8132 | 8132 |
8133 | 8133 |
8134 } // namespace v8 | 8134 } // namespace v8 |
8135 | 8135 |
8136 | 8136 |
8137 #undef TYPE_CHECK | 8137 #undef TYPE_CHECK |
8138 | 8138 |
8139 | 8139 |
8140 #endif // V8_H_ | 8140 #endif // V8_H_ |
OLD | NEW |