Chromium Code Reviews| 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 4989 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 5000 */ | 5000 */ |
| 5001 class V8_EXPORT HeapStatistics { | 5001 class V8_EXPORT HeapStatistics { |
| 5002 public: | 5002 public: |
| 5003 HeapStatistics(); | 5003 HeapStatistics(); |
| 5004 size_t total_heap_size() { return total_heap_size_; } | 5004 size_t total_heap_size() { return total_heap_size_; } |
| 5005 size_t total_heap_size_executable() { return total_heap_size_executable_; } | 5005 size_t total_heap_size_executable() { return total_heap_size_executable_; } |
| 5006 size_t total_physical_size() { return total_physical_size_; } | 5006 size_t total_physical_size() { return total_physical_size_; } |
| 5007 size_t total_available_size() { return total_available_size_; } | 5007 size_t total_available_size() { return total_available_size_; } |
| 5008 size_t used_heap_size() { return used_heap_size_; } | 5008 size_t used_heap_size() { return used_heap_size_; } |
| 5009 size_t heap_size_limit() { return heap_size_limit_; } | 5009 size_t heap_size_limit() { return heap_size_limit_; } |
| 5010 size_t did_zap_garbage() { return did_zap_garbage_; } | |
|
rmcilroy
2015/10/30 14:59:00
I'd call this does_zap_garbage or similar, to avoi
ssid
2015/10/30 15:02:37
Done.
| |
| 5010 | 5011 |
| 5011 private: | 5012 private: |
| 5012 size_t total_heap_size_; | 5013 size_t total_heap_size_; |
| 5013 size_t total_heap_size_executable_; | 5014 size_t total_heap_size_executable_; |
| 5014 size_t total_physical_size_; | 5015 size_t total_physical_size_; |
| 5015 size_t total_available_size_; | 5016 size_t total_available_size_; |
| 5016 size_t used_heap_size_; | 5017 size_t used_heap_size_; |
| 5017 size_t heap_size_limit_; | 5018 size_t heap_size_limit_; |
| 5019 bool did_zap_garbage_; | |
| 5018 | 5020 |
| 5019 friend class V8; | 5021 friend class V8; |
| 5020 friend class Isolate; | 5022 friend class Isolate; |
| 5021 }; | 5023 }; |
| 5022 | 5024 |
| 5023 | 5025 |
| 5024 class V8_EXPORT HeapSpaceStatistics { | 5026 class V8_EXPORT HeapSpaceStatistics { |
| 5025 public: | 5027 public: |
| 5026 HeapSpaceStatistics(); | 5028 HeapSpaceStatistics(); |
| 5027 const char* space_name() { return space_name_; } | 5029 const char* space_name() { return space_name_; } |
| (...skipping 3340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 8368 */ | 8370 */ |
| 8369 | 8371 |
| 8370 | 8372 |
| 8371 } // namespace v8 | 8373 } // namespace v8 |
| 8372 | 8374 |
| 8373 | 8375 |
| 8374 #undef TYPE_CHECK | 8376 #undef TYPE_CHECK |
| 8375 | 8377 |
| 8376 | 8378 |
| 8377 #endif // V8_H_ | 8379 #endif // V8_H_ |
| OLD | NEW |